You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add encoded-only top-level chart overloads for the remaining subplot and domain families covered by H1-G.
Summary:
- add encoded root overloads for ScatterPolar, ScatterGeo, ScatterMapbox, ScatterTernary, ScatterSmith, Carpet, ScatterCarpet, and ContourCarpet
- add encoded root overloads for Pie, Sunburst, and Treemap
- add chart-level unit coverage for subplot/domain chart-root encoded serialization
- add matching Plotly.js 2.28 upstream fixtures and HTML assertions for the new chart-root constructors
- replace the FSharpConsole sample with a focused encoded Treemap root demo
- intentionally defer Sankey because its meaningful encoded payloads live inside nested node/link objects rather than the current top-level root signature
Verification:
- .\build.cmd runTestsCore
- 886 tests passed
Copy file name to clipboardExpand all lines: src/Plotly.NET/ChartAPI/ChartMap.fs
+229Lines changed: 229 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,115 @@ module ChartMap =
190
190
191
191
|> GenericChart.ofTraceObject useDefaults
192
192
193
+
/// <summary>
194
+
/// Creates a ScatterGeo chart from encoded longitude and latitude coordinates.
195
+
/// </summary>
196
+
/// <paramname="longitudesEncoded">Sets the longitude coordinates (in degrees East) as an encoded typed array.</param>
197
+
/// <paramname="latitudesEncoded">Sets the latitude coordinates (in degrees North) as an encoded typed array.</param>
198
+
/// <paramname="mode">Determines the drawing mode for this scatter trace.</param>
199
+
/// <paramname="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
200
+
/// <paramname="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
201
+
/// <paramname="Opacity">Sets the opactity of the trace</param>
202
+
/// <paramname="MultiOpacity">Sets the opactity of individual datum markers</param>
203
+
/// <paramname="Text">Sets a text associated with each datum</param>
204
+
/// <paramname="MultiText">Sets individual text for each datum</param>
205
+
/// <paramname="TextPosition">Sets the position of text associated with each datum</param>
206
+
/// <paramname="MultiTextPosition">Sets the position of text associated with individual datum</param>
207
+
/// <paramname="MarkerColor">Sets the color of the marker</param>
208
+
/// <paramname="MarkerColorScale">Sets the colorscale of the marker</param>
209
+
/// <paramname="MarkerOutline">Sets the outline of the marker</param>
210
+
/// <paramname="MarkerSymbol">Sets the marker symbol for each datum</param>
211
+
/// <paramname="MultiMarkerSymbol">Sets the marker symbol for each individual datum</param>
212
+
/// <paramname="Marker">Sets the marker (use this for more finegrained control than the other marker-associated arguments)</param>
213
+
/// <paramname="LineColor">Sets the color of the line</param>
214
+
/// <paramname="LineColorScale">Sets the colorscale of the line</param>
215
+
/// <paramname="LineWidth">Sets the width of the line</param>
216
+
/// <paramname="LineDash">sets the drawing style of the line</param>
217
+
/// <paramname="Line">Sets the line (use this for more finegrained control than the other line-associated arguments)</param>
218
+
/// <paramname="LocationMode">Determines the set of locations used to match entries in `locations` to regions on the map. Values "ISO-3", "USA-states", "country names" correspond to features on the base map and value "geojson-id" corresponds to features from a custom GeoJSON linked to the `geojson` attribute.</param>
219
+
/// <paramname="GeoJson">Sets optional GeoJSON data associated with this trace. If not given, the features on the base map are used. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".</param>
220
+
/// <paramname="FeatureIdKey">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".</param>
221
+
/// <paramname="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
/// Creates a ScatterMapbox chart from encoded longitude and latitude coordinates.
1390
+
/// </summary>
1391
+
/// <paramname="longitudesEncoded">Sets the longitude coordinates (in degrees East) as an encoded typed array.</param>
1392
+
/// <paramname="latitudesEncoded">Sets the latitude coordinates (in degrees North) as an encoded typed array.</param>
1393
+
/// <paramname="mode">Determines the drawing mode for this scatter trace.</param>
1394
+
/// <paramname="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
1395
+
/// <paramname="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
1396
+
/// <paramname="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
1397
+
/// <paramname="Opacity">Sets the opactity of the trace</param>
1398
+
/// <paramname="MultiOpacity">Sets the opactity of individual datum markers</param>
1399
+
/// <paramname="Text">Sets a text associated with each datum</param>
1400
+
/// <paramname="MultiText">Sets individual text for each datum</param>
1401
+
/// <paramname="TextPosition">Sets the position of text associated with each datum</param>
1402
+
/// <paramname="MultiTextPosition">Sets the position of text associated with individual datum</param>
1403
+
/// <paramname="MarkerColor">Sets the color of the marker</param>
1404
+
/// <paramname="MarkerColorScale">Sets the colorscale of the marker</param>
1405
+
/// <paramname="MarkerOutline">Sets the outline of the marker</param>
1406
+
/// <paramname="MarkerSymbol">Sets the marker symbol for each datum</param>
1407
+
/// <paramname="MultiMarkerSymbol">Sets the marker symbol for each individual datum</param>
1408
+
/// <paramname="Marker">Sets the marker (use this for more finegrained control than the other marker-associated arguments)</param>
1409
+
/// <paramname="LineColor">Sets the color of the line</param>
1410
+
/// <paramname="LineColorScale">Sets the colorscale of the line</param>
1411
+
/// <paramname="LineWidth">Sets the width of the line</param>
1412
+
/// <paramname="LineDash">sets the drawing style of the line</param>
1413
+
/// <paramname="Line">Sets the line (use this for more finegrained control than the other line-associated arguments)</param>
1414
+
/// <paramname="Below">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 "''".</param>
1415
+
/// <paramname="EnableClustering">Whether or not to enable clustering for points</param>
1416
+
/// <paramname="Cluster">Sets the clustering options (use this for more finegrained control than the other cluster-associated arguments)</param>
1417
+
/// <paramname="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
/// Creates a polar scatter plot from encoded radial and angular coordinates.
137
+
/// </summary>
138
+
/// <paramname="rEncoded">Sets the radial coordinates of the plotted data as an encoded typed array.</param>
139
+
/// <paramname="thetaEncoded">Sets the angular coordinates of the plotted data as an encoded typed array.</param>
140
+
/// <paramname="mode">Determines the drawing mode for this scatter trace.</param>
141
+
/// <paramname="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
142
+
/// <paramname="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
143
+
/// <paramname="Opacity">Sets the opactity of the trace</param>
144
+
/// <paramname="MultiOpacity">Sets the opactity of individual datum markers</param>
145
+
/// <paramname="Text">Sets a text associated with each datum</param>
146
+
/// <paramname="MultiText">Sets individual text for each datum</param>
147
+
/// <paramname="TextPosition">Sets the position of text associated with each datum</param>
148
+
/// <paramname="MultiTextPosition">Sets the position of text associated with individual datum</param>
149
+
/// <paramname="MarkerColor">Sets the color of the marker</param>
150
+
/// <paramname="MarkerColorScale">Sets the colorscale of the marker</param>
151
+
/// <paramname="MarkerOutline">Sets the outline of the marker</param>
152
+
/// <paramname="MarkerSymbol">Sets the marker symbol for each datum</param>
153
+
/// <paramname="MultiMarkerSymbol">Sets the marker symbol for each individual datum</param>
154
+
/// <paramname="Marker">Sets the marker (use this for more finegrained control than the other marker-associated arguments)</param>
155
+
/// <paramname="LineColor">Sets the color of the line</param>
156
+
/// <paramname="LineColorScale">Sets the colorscale of the line</param>
157
+
/// <paramname="LineWidth">Sets the width of the line</param>
158
+
/// <paramname="LineDash">sets the drawing style of the line</param>
159
+
/// <paramname="Line">Sets the line (use this for more finegrained control than the other line-associated arguments)</param>
160
+
/// <paramname="UseWebGL">If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once.</param>
161
+
/// <paramname="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param>
0 commit comments