ChartResolutionPolicy
ChartForgeX.Core
Converts an intended render width into a bounded point budget for resolution-aware series.
Inheritance
- object
- ChartResolutionPolicy
Usage
Explore 25 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 11
- Extension method ChartResolutionPolicy.DecimationMode
- Extension method ChartResolutionPolicy.MaximumMarkerCount
- Extension method ChartResolutionPolicy.MaximumPointCount
- Extension method ChartResolutionPolicy.MinimumPointCount
- Extension method ChartResolutionPolicy.PointsPerPixel
- Method ChartResolutionPolicy.Trend
- Method ChartResolutionPolicyFluent.DecimationMode
- Method ChartResolutionPolicyFluent.MaximumMarkerCount
- Method ChartResolutionPolicyFluent.MaximumPointCount
- Method ChartResolutionPolicyFluent.MinimumPointCount
- Method ChartResolutionPolicyFluent.PointsPerPixel
Accepted by parameters 14
- Method Chart.AddAdaptiveArea
- Method Chart.AddAdaptiveLine
- Method Chart.AddAdaptiveScatter
- Extension method ChartResolutionPolicy.DecimationMode
- Extension method ChartResolutionPolicy.MaximumMarkerCount
- Extension method ChartResolutionPolicy.MaximumPointCount
- Extension method ChartResolutionPolicy.MinimumPointCount
- Extension method ChartResolutionPolicy.PointsPerPixel
- Method ChartResolutionPolicyFluent.DecimationMode
- Method ChartResolutionPolicyFluent.MaximumMarkerCount
- Method ChartResolutionPolicyFluent.MaximumPointCount
- Method ChartResolutionPolicyFluent.MinimumPointCount
- Method ChartResolutionPolicyFluent.PointsPerPixel
- Method ChartSeries.CreateAdaptive
Constructors
public ChartResolutionPolicy() #Methods
public int ResolvePointBudget(double viewportWidth) #Resolves the maximum rendered point count for an intended horizontal render width.
Parameters
- viewportWidth double
Returns
intpublic static ChartResolutionPolicy Trend() #Creates the report-friendly trend policy: two points per pixel, a 64-point floor, and automatic marker-density control.
Returns
ChartResolutionPolicyInherited Methods
Properties
public double PointsPerPixel { get; set; } #Gets or sets the number of rendered points allowed per horizontal pixel.
public int MinimumPointCount { get; set; } #Gets or sets the minimum point budget. The value must be at least three.
public int MaximumPointCount { get; set; } #Gets or sets the maximum point budget.
public int MaximumMarkerCount { get; set; } #Gets or sets the largest retained point count that still shows optional line or area markers. Zero suppresses markers for every adaptive series while preserving the connected path.
public ChartDecimationMode DecimationMode { get; set; } #Gets or sets the deterministic decimation algorithm used when the source exceeds the resolved budget.
Extension Methods
public static ChartResolutionPolicy DecimationMode(ChartResolutionPolicy chartResolutionPolicy, ChartDecimationMode value) #Sets ChartResolutionPolicy.DecimationMode: Gets or sets the deterministic decimation algorithm used when the source exceeds the resolved budget.
Parameters
- chartResolutionPolicy ChartForgeX.Core.ChartResolutionPolicy
- The instance.
- value ChartForgeX.Core.ChartDecimationMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartResolutionPolicy { DecimationMode = value }; chartResolutionPolicy.DecimationMode(value);public static ChartResolutionPolicy MaximumMarkerCount(ChartResolutionPolicy chartResolutionPolicy, int value) #Sets ChartResolutionPolicy.MaximumMarkerCount: Gets or sets the largest retained point count that still shows optional line or area markers. Zero suppresses markers for every adaptive series while preserving the connected path.
Parameters
- chartResolutionPolicy ChartForgeX.Core.ChartResolutionPolicy
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartResolutionPolicy { MaximumMarkerCount = value }; chartResolutionPolicy.MaximumMarkerCount(value);public static ChartResolutionPolicy MaximumPointCount(ChartResolutionPolicy chartResolutionPolicy, int value) #Sets ChartResolutionPolicy.MaximumPointCount: Gets or sets the maximum point budget.
Parameters
- chartResolutionPolicy ChartForgeX.Core.ChartResolutionPolicy
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartResolutionPolicy { MaximumPointCount = value }; chartResolutionPolicy.MaximumPointCount(value);public static ChartResolutionPolicy MinimumPointCount(ChartResolutionPolicy chartResolutionPolicy, int value) #Sets ChartResolutionPolicy.MinimumPointCount: Gets or sets the minimum point budget. The value must be at least three.
Parameters
- chartResolutionPolicy ChartForgeX.Core.ChartResolutionPolicy
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartResolutionPolicy { MinimumPointCount = value }; chartResolutionPolicy.MinimumPointCount(value);public static ChartResolutionPolicy PointsPerPixel(ChartResolutionPolicy chartResolutionPolicy, double value) #Sets ChartResolutionPolicy.PointsPerPixel: Gets or sets the number of rendered points allowed per horizontal pixel.
Parameters
- chartResolutionPolicy ChartForgeX.Core.ChartResolutionPolicy
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartResolutionPolicy { PointsPerPixel = value }; chartResolutionPolicy.PointsPerPixel(value);