/// <summary> /// User has hovered over a point on the graph. /// </summary> /// <param name="sender">Event sender</param> /// <param name="e">Event arguments</param> private void OnHoverOverPoint(object sender, EventArguments.HoverPointArgs e) { // Find the correct series. foreach (SeriesInfo series in this.seriesMetadata) { if (series.Title == e.SeriesName) { e.HoverText = series.GetSimulationNameForPoint(e.X, e.Y); return; } } }
/// <summary>User has hovered over a point on the graph.</summary> /// <param name="sender">Event sender</param> /// <param name="e">Event arguments</param> private void OnHoverOverPoint(object sender, EventArguments.HoverPointArgs e) { // Find the correct series. foreach (SeriesDefinition definition in seriesDefinitions) { if (definition.title == e.SeriesName) { e.HoverText = GetSimulationNameForPoint(e.X, e.Y); return; } } }