HtmlChartTooltipRange
ChartForgeX.Interactivity.Html
Controls how pointer movement acquires an HTML chart tooltip target.
Inheritance
- ValueType
- HtmlChartTooltipRange
Usage
Explore 12 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 HtmlChartTooltipOptions.Range
- Method HtmlChartTooltipRange.WithinDistance
- Property HtmlChartTooltipRange.Auto
- Property HtmlChartTooltipRange.Exact
- Property HtmlChartTooltipRange.Nearest
Accepted by parameters 7
- Extension method HtmlChartTooltipOptions.Range
- Method HtmlChartTooltipOptionsFluent.Range
- Method HtmlChartTooltipRange.Equals
- Method HtmlChartTooltipRange.op_Equality
- Method HtmlChartTooltipRange.op_Equality
- Method HtmlChartTooltipRange.op_Inequality
- Method HtmlChartTooltipRange.op_Inequality
Methods
public bool Equals(HtmlChartTooltipRange other) #Returns whether another range has the same acquisition rule and distance.
Parameters
- other ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
Returns
boolpublic override bool Equals(object? obj) #Returns whether an object is an equal tooltip range.
Parameters
- obj object?
Returns
boolpublic override int GetHashCode() #Returns a hash code for the acquisition rule and distance.
Returns
intpublic static bool op_Equality(HtmlChartTooltipRange left, HtmlChartTooltipRange right) #Compares two tooltip ranges for equality.
Parameters
- left ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
- right ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
Returns
boolpublic static bool op_Inequality(HtmlChartTooltipRange left, HtmlChartTooltipRange right) #Compares two tooltip ranges for inequality.
Parameters
- left ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
- right ChartForgeX.Interactivity.Html.HtmlChartTooltipRange
Returns
boolpublic static HtmlChartTooltipRange WithinDistance(double cssPixels) #Creates a range that acquires a painted Cartesian observation within the given distance from its screen centre.
Parameters
- cssPixels double
- A finite, non-negative distance in CSS pixels, independent of SVG scaling. Native hits remain eligible at zero.
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.
public static HtmlChartTooltipRange Auto { get; } #Gets the default family-aware range: nearest category within 120 CSS pixels for line, area and bar charts, or nearest observation within 120 CSS pixels for other Cartesian charts.