Overview  
ConfigsEventsMethods
Tip  

the tip component.

Configs
ParameterTypeDescriptionDefined By
ObjectOverride the default as enable = true,radius = 5
Tip
NumberSpecifies the duration when fadeIn/fadeOut in millisecond.(default to 300)
Tip
FunctionSpecifies Function to calculate the position.(default to null)
Tip
Booleanif calculate the position every time (default to false)
Tip
NumberSpecifies the duration when move in millisecond.(default to 100)
Tip
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
StringSpecifies the tip's type.(default to 'follow') Available value are:
@Option follow
@Option fixed
Tip
StringSpecifies the css of this Dom.
Tip
StringSpecifies the text want to disply.(default to '')
Tip
Events
NameDescriptionDefined By
initialize
Fires after the element initializing is finished this is for test
Parameter
  • this : Tip  
Element
parseText
Fires when parse this tip's text.Return value will override existing.
Parameter
  • tip : iChart.Tip  
  • name : string   the current tip's name
  • value : string   the current tip's value
  • text : string   the current tip's text
  • index : int   index of data,if there was a line
Tip
Methods
NameDescriptionDefined By
reference:Element