507
edits
Line 178: | Line 178: | ||
}, | }, | ||
series: { | series: { | ||
0: { axis: ' | 0: { axis: 'distance' }, // Bind series 0 to an axis named 'distance'. | ||
1: { axis: ' | 1: { axis: 'brightness' } // Bind series 1 to an axis named 'brightness'. | ||
}, | }, | ||
axes: { | axes: { | ||
y: { | y: { | ||
distance: { | distance: {label: 'FPS'}, // Left y-axis. | ||
brightness: {side: 'right', label: 'CPU | brightness: {side: 'right', label: 'CPU usage'} // Right y-axis. | ||
} | } | ||
} | } | ||
Line 200: | Line 200: | ||
var classicChart = new google.visualization.ColumnChart(chartDiv); | var classicChart = new google.visualization.ColumnChart(chartDiv); | ||
classicChart.draw(data, classicOptions); | classicChart.draw(data, classicOptions); | ||
} | } | ||
Line 207: | Line 206: | ||
</script> | </script> | ||
</html> | </html> | ||
<noinclude> | <noinclude> | ||
{{GstInference/Foot|Example Applications/DispTec|Model Zoo}} | {{GstInference/Foot|Example Applications/DispTec|Model Zoo}} | ||
</noinclude> | </noinclude> |
edits