<commit_before>var express = require('express');
var moment  = require('moment');
var Request = require('./request')
var router  = express.Router();

/* GET main page. */
router.get('/', (req, res, next) => {
	let data = []
	let chartOptions = {
		type: 'line',
		data: {
			datasets: [{
				label: 'Temperature from DS18B20',
				borderColor: 'rgb(54, 162, 235)',
				fill: true,
				backgroundColor: 'rgba(54, 162, 235, 0.2)',
				data: data,
			},
			{
				label: 'Temperature from TMP36',
				borderColor: 'rgb(54, 162, 235)',
				fill: true,
				backgroundColor: 'rgba(54, 162, 235, 0.2)',
				data: data,
			}]
		},
		options: {
			responsive: true,
			title:{
				display:true,
				text:"Chart.js Time Point Data"
			},
			scales: {
				xAxes: [{
					type: "time",
					display: true,
					time: {
						displayFormats: {
							day: 'MMM DD'
						}
					},
					scaleLabel: {
						display: true,
						labelString: 'Date'
					}
				}],<commit_msg>change colors for lines<commit_after>var express = require('express');
var moment  = require('moment');
var Request = require('./request')
var router  = express.Router();

/* GET main page. */
router.get('/', (req, res, next) => {
	let data = []
	let chartOptions = {
		type: 'line',
		data: {
			datasets: [{
				label: 'Temperature from DS18B20',
				borderColor: 'rgb(75, 192, 192)',
				fill: true,
				backgroundColor: 'rgba(75, 192, 192, 0.2)',
				data: data,
			},
			{
				label: 'Temperature from TMP36',
				borderColor: 'rgb(54, 162, 235)',
				fill: true,
				backgroundColor: 'rgba(54, 162, 235, 0.2)',
				data: data,
			}]
		},
		options: {
			responsive: true,
			title:{
				display:true,
				text:"Chart.js Time Point Data"
			},
			scales: {
				xAxes: [{
					type: "time",
					display: true,
					time: {
						displayFormats: {
							day: 'MMM DD'
						}
					},
					scaleLabel: {
						display: true,
						labelString: 'Date'
					}
				}],
{'fraction_non_alphanumeric': 0.17012448132780084, 'fraction_numerical': 0.043568464730290454, 'mean_word_length': 2.4323843416370106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '755818', 'n_tokens_mistral': 972, 'n_tokens_neox': 675, 'n_words': 175}