# Activity Gauge Chart Tutorial With Examples

Today, We want to share with you Activity Gauge Chart Tutorial With Examples.In this post we will show you Activity gauge chart example using highcharts, hear for Chart activity gauge using highcharts like applewatch with example we will give you demo and example for implement.In this post, we will learn about highcharts gauge speedometer with an example.

## Activity Gauge Chart Tutorial With Examples

Contents

There are the Following The simple About highcharts line chart Full Information With Example and source code.

As I will cover this Post with live Working example to develop Highcharts activity gauge chart with gauge background transparent example, so the highcharts trend chart is used for this example is following below.

### Highcharts Activity Gauge Chart Example

index.html

Angular is a platform for building mobile & desktop web Based user friendly and light weight applications.Angular,It’s TypeScript-based open-source Angularjs web application framework.

Also Read This ðŸ‘‰   Basic Area Chart Tutorial With Examples

```<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Highcharts - Activity Gauge Chart - www.pakainfo.com</title>
<script src="https://www.pakainfo.com/jquery/js/jquery-1.12.4.js"></script>
<script src="https://www.pakainfo.com/jquery/js/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>
<script type="text/javascript">
\$(function () {
var graphtype = {
type: 'solidgauge',
marginTop: 50
}
var graphTitle = {
text: 'Activity',
style: {
fontSize: '24px'
}
}
var graphtooltip = {
borderWidth: 0,
backgroundColor: 'none',
style: {
fontSize: '16px'
},
pointFormat: '{series.name}<br><span style="font-size:2em; color: {point.color}; font-weight: bold">{point.y}%</span>',
positioner: function (labelWidth, labelHeight) {
return {
x: 200 - labelWidth / 2,
y: 180
};
}
}
var chartpane = {
startAngle: 0,
endAngle: 360,
background: [{ // Track for Move
backgroundColor: Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0.3).get(),
borderWidth: 0
}, { // Track for Exercise
backgroundColor: Highcharts.Color(Highcharts.getOptions().colors[1]).setOpacity(0.3).get(),
borderWidth: 0
}, { // Track for Stand
backgroundColor: Highcharts.Color(Highcharts.getOptions().colors[2]).setOpacity(0.3).get(),
borderWidth: 0
}]
}
var graphyaxis = {
min: 0,
max: 100,
lineWidth: 0,
tickPositions: []
}
var chartplotOptions= {
solidgauge: {
borderWidth: '34px',
dataLabels: {
enabled: false
},
linecap: 'round',
stickyTracking: false
}
}
var graphseries = [{
name: 'Move',
borderColor: Highcharts.getOptions().colors[0],
data: [{
color: Highcharts.getOptions().colors[0],
y: 80
}]
}, {
name: 'Exercise',
borderColor: Highcharts.getOptions().colors[1],
data: [{
color: Highcharts.getOptions().colors[1],
y: 65
}]
}, {
name: 'Stand',
borderColor: Highcharts.getOptions().colors[2],
data: [{
color: Highcharts.getOptions().colors[2],
y: 50
}]
}]
Highcharts.chart('chart-full-content', {
chart:graphtype,
title: graphTitle,
tooltip: graphtooltip,
pane:chartpane,
yAxis: graphyaxis,
plotOptions:chartplotOptions,
series: graphseries
},
/**
* In the chart load callback, add icons on top of the circular shapes
*/
function callback() {
// Move icon
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)
// Exercise icon
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)
// Stand icon
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)
});
});
</script>
<body>
<div id="chart-full-content" style="width: 425px; height: 425px; margin: 0 auto">
</div>
</body>
</html>
```