ChartMapPoint
ChartForgeX.Core
Represents one labeled longitude/latitude point in a map chart.
Inheritance
- ValueType
- ChartMapPoint
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Property ChartMapConnector.RoutePoints
- Method ChartMapGeoJson.ToMapPoints
- Method ChartMapPoint.WithColorValue
- Method ChartMapPoint.WithFeature
- Property ChartSeries.MapPoints
Accepted by parameters 6
- Method Chart.AddDottedMap
- Method Chart.AddMapConnector
- Constructor ChartMapConnector.ChartMapConnector
- Method ChartSeries.CreateDottedMap
- Method ChartSeries.ReplaceMapPoints
- Method ChartSeries.UpdateMapPoint
Constructors
public ChartMapPoint(string label, double longitude, double latitude, ChartColor? color = null) #Initializes a new instance of the ChartMapPoint struct.
Parameters
- label string
- The point label.
- longitude double
- The longitude in degrees, from -180 to 180.
- latitude double
- The latitude in degrees, from -90 to 90.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional point color.
public ChartMapPoint(string label, double longitude, double latitude, double weight, ChartColor? color = null) #Initializes a new instance of the ChartMapPoint struct with a numeric point weight.
Parameters
- label string
- The point label.
- longitude double
- The longitude in degrees, from -180 to 180.
- latitude double
- The latitude in degrees, from -90 to 90.
- weight double
- The finite nonnegative weight associated with the point.
- color ChartForgeX.Primitives.ChartColor? = null
- An optional point color.
Methods
public ChartMapPoint WithColorValue(double? value) #Returns a point with the same location, weight and explicit paint and a replacement independent color measurement.
Parameters
- value double?
- A finite signed color measurement, or null to clear it.
public ChartMapPoint WithFeature(ChartMapFeature? feature) #Returns a point retaining all source measurements with replacement feature metadata.
Parameters
- feature ChartForgeX.Core.ChartMapFeature?
- The immutable snapshot, or null to clear it. No observation ID is assigned.
Returns
ChartMapPointInherited Methods
Properties
public double? ColorValue { get; } #Gets an independent numeric color measurement, or null for a missing color measurement. ChartMapPoint.Weight remains the point weight.
public ChartMapFeature? Feature { get; } #Gets optional immutable feature metadata, independent of the observation ID.
Fields
public readonly double? Weight #Gets the optional finite nonnegative point weight, independently of its color measurement.