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
/// Creates a chart that is completely invisible when rendered. The Chart object however is NOT empty! Combining this chart with other charts will have unforseen consequences (it has for example invisible axes that can override other axes if used in Chart.Combine)
Copy file name to clipboardExpand all lines: src/Plotly.NET.CSharp/ChartAPI/ChartMap.cs
+19
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
usingPlotly.NET.LayoutObjects;
8
8
usingPlotly.NET.TraceObjects;
9
9
usingSystem.Runtime.InteropServices;
10
+
usingstaticPlotly.NET.StyleParam;
10
11
11
12
namespacePlotly.NET.CSharp
12
13
{
@@ -416,6 +417,7 @@ public static GenericChart BubbleGeo<LongitudesType, LatitudesType, TextType>(
416
417
/// <param name="longitudes">Sets the longitude coordinates (in degrees East).</param>
417
418
/// <param name="latitudes">Sets the latitude coordinates (in degrees North).</param>
418
419
/// <param name="mode">Determines the drawing mode for this scatter trace.</param>
420
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
419
421
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
420
422
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
421
423
/// <param name="Opacity">Sets the opactity of the trace</param>
@@ -443,6 +445,7 @@ public static GenericChart ScatterMapbox<LongitudesType, LatitudesType, TextType
@@ -475,6 +478,7 @@ public static GenericChart ScatterMapbox<LongitudesType, LatitudesType, TextType
475
478
longitudes:longitudes,
476
479
latitudes:latitudes,
477
480
mode:mode,
481
+
MapboxStyle:MapboxStyle.ToOption(),
478
482
Name:Name.ToOption(),
479
483
ShowLegend:ShowLegend.ToOption(),
480
484
Opacity:Opacity.ToOption(),
@@ -510,6 +514,7 @@ public static GenericChart ScatterMapbox<LongitudesType, LatitudesType, TextType
510
514
/// <param name="longitudes">Sets the longitude coordinates (in degrees East).</param>
511
515
/// <param name="latitudes">Sets the latitude coordinates (in degrees North).</param>
512
516
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
517
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
513
518
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
514
519
/// <param name="Opacity">Sets the opactity of the trace</param>
515
520
/// <param name="MultiOpacity">Sets the opactity of individual datum markers</param>
@@ -531,6 +536,7 @@ public static GenericChart PointMapbox<LongitudesType, LatitudesType, TextType>(
@@ -557,6 +563,7 @@ public static GenericChart PointMapbox<LongitudesType, LatitudesType, TextType>(
557
563
longitudes:longitudes,
558
564
latitudes:latitudes,
559
565
Name:Name.ToOption(),
566
+
MapboxStyle:MapboxStyle.ToOption(),
560
567
ShowLegend:ShowLegend.ToOption(),
561
568
Opacity:Opacity.ToOption(),
562
569
MultiOpacity:MultiOpacity.ToOption(),
@@ -587,6 +594,7 @@ public static GenericChart PointMapbox<LongitudesType, LatitudesType, TextType>(
587
594
/// <param name="latitudes">Sets the latitude coordinates (in degrees North).</param>
588
595
/// <param name="ShowMarkers"></param>
589
596
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
597
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
590
598
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
591
599
/// <param name="Opacity">Sets the opactity of the trace</param>
592
600
/// <param name="MultiOpacity">Sets the opactity of individual datum markers</param>
@@ -612,6 +620,7 @@ public static GenericChart LineMapbox<LongitudesType, LatitudesType, TextType>(
@@ -642,6 +651,7 @@ public static GenericChart LineMapbox<LongitudesType, LatitudesType, TextType>(
642
651
latitudes:latitudes,
643
652
ShowMarkers:ShowMarkers.ToOption(),
644
653
Name:Name.ToOption(),
654
+
MapboxStyle:MapboxStyle.ToOption(),
645
655
ShowLegend:ShowLegend.ToOption(),
646
656
Opacity:Opacity.ToOption(),
647
657
MultiOpacity:MultiOpacity.ToOption(),
@@ -675,6 +685,7 @@ public static GenericChart LineMapbox<LongitudesType, LatitudesType, TextType>(
675
685
/// <param name="latitudes">Sets the latitude coordinates (in degrees North).</param>
676
686
/// <param name="sizes">Sets the size of the points.</param>
677
687
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover</param>
688
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
678
689
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
679
690
/// <param name="Opacity">Sets the opactity of the trace</param>
680
691
/// <param name="MultiOpacity">Sets the opactity of individual datum markers</param>
@@ -695,6 +706,7 @@ public static GenericChart BubbleMapbox<LongitudesType, LatitudesType, TextType>
@@ -720,6 +732,7 @@ public static GenericChart BubbleMapbox<LongitudesType, LatitudesType, TextType>
720
732
latitudes:latitudes,
721
733
sizes:sizes,
722
734
Name:Name.ToOption(),
735
+
MapboxStyle:MapboxStyle.ToOption(),
723
736
ShowLegend:ShowLegend.ToOption(),
724
737
Opacity:Opacity.ToOption(),
725
738
MultiOpacity:MultiOpacity.ToOption(),
@@ -752,6 +765,7 @@ public static GenericChart BubbleMapbox<LongitudesType, LatitudesType, TextType>
752
765
/// <param name="z">The color values for each location</param>
753
766
/// <param name="geoJson">Sets the GeoJSON data associated with this trace. 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>
754
767
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover.</param>
768
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
755
769
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
756
770
/// <param name="FeatureIdKey">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".</param>
757
771
/// <param name="Text">Sets a text associated with each datum</param>
@@ -767,6 +781,7 @@ public static GenericChart ChoroplethMapbox<ZType, TextType>(
@@ -785,6 +800,7 @@ public static GenericChart ChoroplethMapbox<ZType, TextType>(
785
800
locations:locations,
786
801
z:z,
787
802
Name:Name.ToOption(),
803
+
MapboxStyle:MapboxStyle.ToOption(),
788
804
ShowLegend:ShowLegend.ToOption(),
789
805
geoJson:geoJson,
790
806
FeatureIdKey:FeatureIdKey.ToOption(),
@@ -808,6 +824,7 @@ public static GenericChart ChoroplethMapbox<ZType, TextType>(
808
824
/// <param name="longitudes">Sets the longitude coordinates (in degrees East).</param>
809
825
/// <param name="latitudes">Sets the latitude coordinates (in degrees North).</param>
810
826
/// <param name="Name">Sets the trace name. The trace name appear as the legend item and on hover.</param>
827
+
/// <param name="MapboxStyle">Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets.</param>
811
828
/// <param name="ShowLegend">Determines whether or not an item corresponding to this trace is shown in the legend.</param>
812
829
/// <param name="Opacity">Sets the opacity of the trace</param>
813
830
/// <param name="Z">Sets the points' weight. For example, a value of 10 would be equivalent to having 10 points of weight 1 in the same spot</param>
@@ -824,6 +841,7 @@ public static GenericChart DensityMapbox<LongitudesType, LatitudesType, ZType, T
0 commit comments