Creates the balloons ( tooltips ) of the chart, It follows the mouse cursor when you roll-over the data items. The framework generates the instances automatically you only need to adjust the appearance to your needs. var chart = AmCharts.makeChart(‘chartdiv’, { … ‘balloon’: { ‘adjustBorderColor’: true, ‘color’: ‘#000000’, ‘cornerRadius’: 5, ‘fillColor’: ‘#FFFFFF’ } }), If this is set to true, border color instead of background color will be changed when user rolls-over the slice, graph, etc. Allows having drop-shaped balloons. Note, these balloons will not check for overlapping with other balloons, or if they go outside plot area. It also does not change pointer orientation automatically based on its vertical position like regular balloons do. You can use pointerOrientation property if you want it to point to different direction. Not supported by IE8. ‘valueAxes’: [{ // … // value balloons are shown }, { // … ‘balloon’: { ‘enabled’: false } // value balloons are not shown }] Balloon background color. Usually balloon background color is set by the chart. Only if ‘adjustBorderColor’ is ‘true’ this color will be used. Specifies if balloon should follow mouse when hovering the slice/column/bullet or stay in fixed position (this does not affect balloon behavior if ChartCursor is used). Defines horizontal distance from mouse pointer to balloon pointer. If you set it to a small value, the balloon might flicker, as mouse might lose focus on hovered object. Defines vertical distance from mouse pointer to balloon pointer. If you set it to a small value, the balloon might flicker, as mouse might lose focus on hovered object. If cornerRadius of a balloon is &gt,0, showBullet is set to true for value balloons when ChartCursor is used. If you don’t want the bullet near the balloon, set it to false: chart.balloon.showBullet = false Defines a square within which the balloon should appear. Bounds are set by chart class, you don’t need to call this method yourself. Source.

Menu
whatsapp button