<commit_before>{{#partial "additional-chart-config"}}
	options.chart.type="{{#if area}}area{{else}}line{{/if}}";
	options.xAxis.tickmarkPlacement='on';

	options.xAxis.tickPositioner=function() {
		var positions = [];
		var tick = Math.floor(this.dataMax);
		for (tick; tick >= this.dataMin; tick -= this.tickInterval) {
		positions.push(tick);
		}
		return positions;
	};
{{#if startFromZero}}
	var min;
	var currentMin;
	var data;
	for (i = 0; i < options.series.length; i++) { 
	currentMin = Math.min.apply(null, options.series[i].data);
	min = min ? Math.min(min,currentMin) : currentMin;
	}

	if(min > 0) {
		options.yAxis.min = 0;
	}
{{!-- console.log(options.yAxis); --}}
{{/if}}
{{/partial}}
{{!-- This denotes the template inherits from base-chart-config--}}
{{> highcharts/config/base/simple-chart-config}} <commit_msg>Default line charts to start at zero<commit_after>{{#partial "additional-chart-config"}}
	options.chart.type="{{#if area}}area{{else}}line{{/if}}";
	options.xAxis.tickmarkPlacement='on';

	options.xAxis.tickPositioner=function() {
		var positions = [];
		var tick = Math.floor(this.dataMax);
		for (tick; tick >= this.dataMin; tick -= this.tickInterval) {
		positions.push(tick);
		}
		return positions;
	};
{{!-- {{#if startFromZero}} --}}
	var min;
	var currentMin;
	var data;
	for (i = 0; i < options.series.length; i++) { 
	currentMin = Math.min.apply(null, options.series[i].data);
	min = min ? Math.min(min,currentMin) : currentMin;
	}

	if(min > 0) {
		options.yAxis.min = 0;
	}
{{!-- {{/if}} --}}
{{/partial}}
{{!-- This denotes the template inherits from base-chart-config--}}
{{> highcharts/config/base/simple-chart-config}} 
{'fraction_non_alphanumeric': 0.20192307692307693, 'fraction_numerical': 0.003605769230769231, 'mean_word_length': 4.235849056603773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1796559', 'n_tokens_mistral': 624, 'n_tokens_neox': 589, 'n_words': 117}