API Reference
HtmlChartTooltipRange
Controls how pointer movement acquires an HTML chart tooltip target.
Inheritance
- ValueType
- HtmlChartTooltipRange
Usage
Explore 9 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 4
- Property HtmlChartTooltipOptions.Range
- Method HtmlChartTooltipRange.WithinDistance
- Property HtmlChartTooltipRange.Exact
- Property HtmlChartTooltipRange.Nearest
Accepted by parameters 5
Methods
public Boolean Equals(HtmlChartTooltipRange other) #BooleanReturns whether another range has the same acquisition rule and distance.
Parameters
- other ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
public override Boolean Equals(Object? obj) #BooleanReturns whether an object is an equal tooltip range.
Parameters
- obj System.Object?
public override Int32 GetHashCode() #Int32Returns a hash code for the acquisition rule and distance.
public static Boolean op_Equality(HtmlChartTooltipRange left, HtmlChartTooltipRange right) #BooleanCompares two tooltip ranges for equality.
Parameters
- left ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
- right ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
public static Boolean op_Inequality(HtmlChartTooltipRange left, HtmlChartTooltipRange right) #BooleanCompares two tooltip ranges for inequality.
Parameters
- left ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
- right ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
public static HtmlChartTooltipRange WithinDistance(Double cssPixels) #HtmlChartTooltipRangeCreates a range that acquires a painted Cartesian observation within the given distance from its screen centre.
Parameters
- cssPixels System.Double
- A finite, non-negative distance in CSS pixels, independent of SVG scaling. Native hits remain eligible at zero.
Returns
The bounded pointer acquisition range.
Exceptions
ArgumentOutOfRangeException– The distance is negative or non-finite.
Inherited Methods
Properties
public static HtmlChartTooltipRange Exact { get; } #Gets a range that requires a native hit on a painted target. This is also the default value of the struct.
public static HtmlChartTooltipRange Nearest { get; } #Gets a range that acquires the nearest painted Cartesian observation anywhere inside the chart stage.