Skip to content

Instantly share code, notes, and snippets.

@Avotrix
Created June 17, 2020 23:09
Show Gist options
  • Save Avotrix/bafd7f3e8c5df1fb9c033cb25fd2bc41 to your computer and use it in GitHub Desktop.
Save Avotrix/bafd7f3e8c5df1fb9c033cb25fd2bc41 to your computer and use it in GitHub Desktop.
airqualitycheck3
var chartT = new Highcharts.Chart({
chart:{ renderTo : 'chart-GasSensor' },
title: { text: 'Gas Sensor Data' },
series: [{
showInLegend: false,
data: [] }],
plotOptions: {
line: { animation: false,
dataLabels: { enabled: true },
series: { color: '#059e8a' },
xAxis: { type: 'datetime', dateTimeLabelFormats: { second: '%H:%M:%S' } },
yAxis: { title: { text: 'Gas Analog Vaue' } }
credits: { enabled: false } });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment