Overview  
ConfigsEventsMethods
CrossHair  

this element simulate the crosshair on the coordinate.actually this composed of some div of html.

Configs
ParameterTypeDescriptionDefined By
ObjectSpecifies the border for this element.
Available property are:
@Option enable {boolean} If enable the border
@Option color {String} the border's color.(default to '#BCBCBC')
@Option style {String} the border's style.(default to 'solid')
@Option width {Number/String} the border's width.If given array,the option radius will be 0.(default to 1)
@Option radius {Number/String} the border's radius.(default to 0)
Element
NumberSpecifies the linewidth of the crosshair.(default to 1)
CrossHair
NumberSpecifies the linewidth of the crosshair.(default to 1)
CrossHair
BooleanSpecifies whether the element should be show a shadow.In general there will be get a high render speed when apply false.(default to false)
Element
NumberSpecifies How blur you want your shadow to be.(default to 4)
Element
StringSpecifies the color of your shadow is.(default to '#666666')
Element
NumberSpecifies Horizontal distance (x-axis) between the shadow and the shape in pixel.(default to 0)
Element
NumberSpecifies Vertical distance (y-axis) between the shadow and the shape in pixel.(default to 0)
Element
StringCustom style specification to be applied to this element.(default to '')
like this:'padding:10px;font-size:12px'
Html
Events
NameDescriptionDefined By
initialize
Fires after the element initializing is finished this is for test
Parameter
  • this : CrossHair  
Element
Methods
NameDescriptionDefined By
reference:Html