New to Kendo UI for Angular? Start a free 30-day trial
XAxisCrosshairComponent
Represents the crosshair configuration options of the X axis (see example).
html
<kendo-chart>
 <kendo-chart-x-axis>
  <kendo-chart-x-axis-item>
   <kendo-chart-x-axis-item-crosshair [visible]="true" color="#ff0000" [width]="2">
    <kendo-chart-x-axis-item-crosshair-tooltip format="c"></kendo-chart-x-axis-item-crosshair-tooltip>
   </kendo-chart-x-axis-item-crosshair>
  </kendo-chart-x-axis-item>
 </kendo-chart-x-axis>
</kendo-chart>Selector
kendo-chart-x-axis-item-crosshair
Inputs
| Name | Type | Default | Description | 
|---|---|---|---|
| color | 
 | Specifies the color of the crosshair. | |
| opacity | 
 | 
 | Specifies the opacity of the crosshair. By default, the crosshair is opaque. | 
| tooltip | 
 | Specifies the tooltip configuration of the crosshair. | |
| visible | 
 | 
 | Determines whether the Chart displays the X-axis crosshair of the Scatter Chart. | 
| width | 
 | 
 | Specifies the width of the crosshair in pixels. | 
Methods
| notifyChanges | ||||||
|---|---|---|---|---|---|---|
| Updates the component fields with the specified values and refreshes the Chart. Use this method when the configuration values cannot be set through the template. ts  | ||||||
| 
 |