Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Collapse]DevExpress.XtraCharts.Web.Scripts
   [Expand]ASPxClientAnnotation Class
   [Expand]ASPxClientAverageTrueRange Class
   [Expand]ASPxClientAxis Class
   [Expand]ASPxClientAxis2D Class
   [Expand]ASPxClientAxis3D Class
   [Expand]ASPxClientAxisBase Class
   [Expand]ASPxClientAxisLabelItem Class
   [Expand]ASPxClientAxisRange Class
   [Expand]ASPxClientAxisTitle Class
   [Expand]ASPxClientAxisValue Class
   [Expand]ASPxClientBollingerBands Class
   [Expand]ASPxClientChaikinsVolatility Class
   [Expand]ASPxClientChartPrintOptions Class
   [Expand]ASPxClientChartTitle Class
   [Expand]ASPxClientCommodityChannelIndex Class
   [Expand]ASPxClientConstantLine Class
   [Expand]ASPxClientControlCoordinates Class
   [Expand]ASPxClientCrosshairAxisLabelElement Class
   [Expand]ASPxClientCrosshairDrawInfo Class
   [Expand]ASPxClientCrosshairDrawInfoList Class
   [Expand]ASPxClientCrosshairElement Class
   [Expand]ASPxClientCrosshairElementGroup Class
   [Expand]ASPxClientCrosshairFreePosition Class
   [Expand]ASPxClientCrosshairGroupHeaderElement Class
   [Expand]ASPxClientCrosshairLineElement Class
   [Expand]ASPxClientCrosshairMousePosition Class
   [Expand]ASPxClientCrosshairOptions Class
   [Expand]ASPxClientCrosshairPosition Class
   [Expand]ASPxClientCrosshairSeriesLabelElement Class
   [Expand]ASPxClientCrosshairValueItem Class
   [Expand]ASPxClientCustomLegendItem Class
   [Expand]ASPxClientDataSourceBasedErrorBars Class
   [Expand]ASPxClientDetrendedPriceOscillator Class
   [Expand]ASPxClientDiagramCoordinates Class
   [Expand]ASPxClientExponentialMovingAverage Class
   [Expand]ASPxClientFibonacciIndicator Class
   [Expand]ASPxClientFinancialIndicator Class
   [Expand]ASPxClientFinancialIndicatorPoint Class
   [Expand]ASPxClientFixedValueErrorBars Class
   [Expand]ASPxClientHitObject Class
   [Expand]ASPxClientImageAnnotation Class
   [Expand]ASPxClientIndicator Class
   [Expand]ASPxClientLegend Class
   [Expand]ASPxClientLineStyle Class
   [Expand]ASPxClientMassIndex Class
   [Expand]ASPxClientMedianPrice Class
   [Expand]ASPxClientMovingAverage Class
   [Expand]ASPxClientMovingAverageConvergenceDivergence Class
   [Expand]ASPxClientPercentageErrorBars Class
   [Expand]ASPxClientRadarAxis Class
   [Expand]ASPxClientRadarDiagram Class
   [Expand]ASPxClientRateOfChange Class
   [Expand]ASPxClientRegressionLine Class
   [Expand]ASPxClientRelativeStrengthIndex Class
   [Expand]ASPxClientSeries Class
   [Expand]ASPxClientSeriesLabel Class
   [Expand]ASPxClientSeriesPoint Class
   [Expand]ASPxClientSeriesTitle Class
   [Expand]ASPxClientSimpleDiagram Class
   [Expand]ASPxClientSimpleMovingAverage Class
   [Expand]ASPxClientSingleLevelIndicator Class
   [Expand]ASPxClientStandardDeviation Class
   [Expand]ASPxClientStandardDeviationErrorBars Class
   [Expand]ASPxClientStandardErrorBars Class
   [Expand]ASPxClientStrip Class
   [Expand]ASPxClientSwiftPlotDiagram Class
   [Expand]ASPxClientSwiftPlotDiagramAxis Class
   [Expand]ASPxClientTextAnnotation Class
   [Expand]ASPxClientTitleBase Class
   [Expand]ASPxClientToolTipController Class
   [Expand]ASPxClientToolTipFreePosition Class
   [Expand]ASPxClientToolTipMousePosition Class
   [Expand]ASPxClientToolTipPosition Class
   [Expand]ASPxClientToolTipRelativePosition Class
   [Expand]ASPxClientTrendLine Class
   [Expand]ASPxClientTriangularMovingAverage Class
   [Expand]ASPxClientTripleExponentialMovingAverageTema Class
   [Expand]ASPxClientTripleExponentialMovingAverageTrix Class
   [Expand]ASPxClientTypicalPrice Class
   [Expand]ASPxClientWebChart Class
   [Collapse]ASPxClientWebChartControl Class
     ASPxClientWebChartControl Members
     ASPxClientWebChartControl Constructor
    [Collapse]ASPxClientWebChartControl Events
      BeginCallback Event
      CallbackError Event
      CustomDrawCrosshair Event
      EndCallback Event
      ObjectHotTracked Event
      ObjectSelected Event
    [Expand]ASPxClientWebChartControl Methods
   [Expand]ASPxClientWebChartControlCustomDrawCrosshairEventArgs Class
    ASPxClientWebChartControlCustomDrawCrosshairEventHandler Delegate
   [Expand]ASPxClientWebChartControlHotTrackEventArgs Class
    ASPxClientWebChartControlHotTrackEventHandler Delegate
   [Expand]ASPxClientWebChartElement Class
   [Expand]ASPxClientWebChartElementNamed Class
   [Expand]ASPxClientWebChartEmptyElement Class
   [Expand]ASPxClientWebChartHitInfo Class
   [Expand]ASPxClientWebChartRequiredElement Class
   [Expand]ASPxClientWeightedClose Class
   [Expand]ASPxClientWeightedMovingAverage Class
   [Expand]ASPxClientWilliamsR Class
   [Expand]ASPxClientXYDiagram Class
   [Expand]ASPxClientXYDiagram2D Class
   [Expand]ASPxClientXYDiagram3D Class
   [Expand]ASPxClientXYDiagramBase Class
   [Expand]ASPxClientXYDiagramPane Class
   [Expand]ASPxSeparatePaneIndicator Class
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxClientWebChartControl.ObjectHotTracked Event

Occurs on the client side when any chart element is hot-tracked.

Namespace:DevExpress.XtraCharts.Web.Scripts
Assembly:JavaScript

Expanded Syntax

Expanded Event Data

The event handler receives an argument of type ASPxClientWebChartControlHotTrackEventArgs containing data related to this event.

The following ASPxClientWebChartControlHotTrackEventArgs properties provide information specific to this event.
Property Description
absoluteX Gets the X-coordinate of the hit test point, relative to the top left corner of the Web Page containing this chart.
absoluteY Gets the Y-coordinate of the hit test point, relative to the top left corner of the Web Page containing this chart.
additionalHitObject Provides access on the client side to the object, which is in some way related to the object being hit. The returned value depends on the ASPxClientWebChartControlHotTrackEventArgs.hitObject type and hit point location.
cancel Gets a value indicating whether the hot-tracking or object selection should be canceled.
chart Provides access on the client side to the chart and all its elements.
hitInfo Gets details on the chart elements located at the point where an end-user has clicked when hot-tracking or selecting a chart element on the client side.
hitObject Provides access on the client side to the chart element, for which the event was raised.
htmlElement Gets the HTML object that contains the processed item.
processOnServer Gets or sets a value that specifies whether the event should be finally processed on the server side.
x Gets the X-coordinate of the hit test point, relative to the top left corner of the chart.
y Gets the Y-coordinate of the hit test point, relative to the top left corner of the chart.

Expanded Remarks

An end-user is able to hot-track some items of the ASPxClientWebChartControl at runtime if the WebChartControl.EnableClientSideAPI property is set to true. Handle the ObjectHotTracked event if you want to perform some specific actions when an end-user hot-tracks a chart's elements, or if you want to disable the hot-tracking of particular elements. Note that the currently hot-tracked element of the chart can be accessed via the ASPxClientWebChartControlHotTrackEventArgs.hitObject and ASPxClientWebChartControlHotTrackEventArgs.additionalHitObject properties.

For more information, refer to Handling Client-side Scripts.

Expanded See Also

How would you rate this topic?​​​​​​​