js/highcharts-master/samples/highcharts/demo/gauge-activity/demo.js
/**
 * In the chart load callback, add icons on top of the circular shapes
 */
In the chart load callback, add icons on top of the circular shapes
In the chart load callback add icons on top of the circular shapes
function callback() {
    this.renderer.path(['M', -8, 0, 'L', 8, 0, 'M', 0, -8, 'L', 8, 0, 0, 8])
        .attr({
            'stroke': '#303030',
            'stroke-linecap': 'round',
            'stroke-linejoin': 'round',
            'stroke-width': 2,
            'zIndex': 10
        })
        .translate(190, 26)
        .add(this.series[2].group);
    this.renderer.path(['M', -8, 0, 'L', 8, 0, 'M', 0, -8, 'L', 8, 0, 0, 8, 'M', 8, -8, 'L', 16, 0, 8, 8])
        .attr({
            'stroke': '#303030',
            'stroke-linecap': 'round',
            'stroke-linejoin': 'round',
            'stroke-width': 2,
            'zIndex': 10
        })
        .translate(190, 61)
        .add(this.series[2].group);
    this.renderer.path(['M', 0, 8, 'L', 0, -8, 'M', -8, 0, 'L', 0, -8, 8, 0])
        .attr({
            'stroke': '#303030',
            'stroke-linecap': 'round',
            'stroke-linejoin': 'round',
            'stroke-width': 2,
            'zIndex': 10
        })
        .translate(190, 96)
        .add(this.series[2].group);
}
function callback ( ) { this . renderer . path ( [ 'M' , - 8 , 0 , 'L' , 8 , 0 , 'M' , 0 , - 8 , 'L' , 8 , 0 , 0 , 8 ] ) . attr ( { 'stroke' : '#303030' , 'stroke-linecap' : 'round' , 'stroke-linejoin' : 'round' , 'stroke-width' : 2 , 'zIndex' : 10 } ) . translate ( 190 , 26 ) . add ( this . series [ 2 ] . group ) ; this . renderer . path ( [ 'M' , - 8 , 0 , 'L' , 8 , 0 , 'M' , 0 , - 8 , 'L' , 8 , 0 , 0 , 8 , 'M' , 8 , - 8 , 'L' , 16 , 0 , 8 , 8 ] ) . attr ( { 'stroke' : '#303030' , 'stroke-linecap' : 'round' , 'stroke-linejoin' : 'round' , 'stroke-width' : 2 , 'zIndex' : 10 } ) . translate ( 190 , 61 ) . add ( this . series [ 2 ] . group ) ; this . renderer . path ( [ 'M' , 0 , 8 , 'L' , 0 , - 8 , 'M' , - 8 , 0 , 'L' , 0 , - 8 , 8 , 0 ] ) . attr ( { 'stroke' : '#303030' , 'stroke-linecap' : 'round' , 'stroke-linejoin' : 'round' , 'stroke-width' : 2 , 'zIndex' : 10 } ) . translate ( 190 , 96 ) . add ( this . series [ 2 ] . group ) ; }
In the chart load callback, add icons on top of the circular shapes
In the chart load callback add icons on top of the circular shapes
// Move icon // Exercise icon // Stand icon