<commit_before><div class="chart-options pull-right">
	<a class="btn btn-lg text-muted collapsed"
		data-toggle="collapse" data-target=".{{uniqueChartOptions}} .bar-chart-options"
		data-animation=false
		ng-click="toggleChartOptions()">
	  <span class="glyphicon glyphicon-cog"></span>
	  <span class="caret"></span>
	</a>
	<div class="bar-chart-options popover bottom">
		<div class="arrow"></div>
		<div class="popover-content">
			<div class="form-group">
				<fieldselector target-var="attrX" label-text="'X axis:'" default-mapping="'bar_x_axis'"></fieldselector>
			</div>
			<div class="form-group">
				<fieldselector target-var="attrY" label-text="'Y axis:'" default-mapping="'y_axis'"></fieldselector>
			</div>
			<div class="form-group">
				<select ng-model="barType" class="form-control">
					<option value="count">Count</option>
					<option value="sum">Sum</option>
					<option value="avg">Avg</option>
				</select>
			</div>
		</div>
	</div>
</div>
<div class="filter-reset pull-right" ng-class="{true: 'hidden', false: ''}[filterSet === undefined]">
  Filter
  <a class="btn" ng-click="clearFilterSet()">
    <span class="glyphicon glyphicon-remove"></span>
  </a>
</div>

<div class="legend">
	<div class="legend-item">
		<span class="legend-icon" style="background-color: #39b54a"></span>
		<span class="legend-text" ng-show="barType === 'avg'">Average {{attrY}}</span>
		<span class="legend-text" ng-show="barType === 'sum'">Sum {{attrY}}</span>
		<span class="legend-text" ng-show="barType === 'count'">Count</span>
	</div>
</div>

<div class="clearfix"></div>

<div class="barchart chart-div"></div><commit_msg>Fix 1309 - Add x axis label to legend<commit_after><div class="chart-options pull-right">
	<a class="btn btn-lg text-muted collapsed"
		data-toggle="collapse" data-target=".{{uniqueChartOptions}} .bar-chart-options"
		data-animation=false
		ng-click="toggleChartOptions()">
	  <span class="glyphicon glyphicon-cog"></span>
	  <span class="caret"></span>
	</a>
	<div class="bar-chart-options popover bottom">
		<div class="arrow"></div>
		<div class="popover-content">
			<div class="form-group">
				<fieldselector target-var="attrX" label-text="'X axis:'" default-mapping="'bar_x_axis'"></fieldselector>
			</div>
			<div class="form-group">
				<fieldselector target-var="attrY" label-text="'Y axis:'" default-mapping="'y_axis'"></fieldselector>
			</div>
			<div class="form-group">
				<select ng-model="barType" class="form-control">
					<option value="count">Count</option>
					<option value="sum">Sum</option>
					<option value="avg">Avg</option>
				</select>
			</div>
		</div>
	</div>
</div>
<div class="filter-reset pull-right" ng-class="{true: 'hidden', false: ''}[filterSet === undefined]">
  Filter
  <a class="btn" ng-click="clearFilterSet()">
    <span class="glyphicon glyphicon-remove"></span>
  </a>
</div>

<div class="legend">
	<div class="legend-item">
		<span class="legend-icon" style="background-color: #39b54a"></span>
		<span class="legend-text" ng-show="barType === 'avg'">Average {{attrY}}</span>
		<span class="legend-text" ng-show="barType === 'sum'">Sum {{attrY}}</span>
		<span class="legend-text" ng-show="barType === 'count'">Count</span>
		<span class="legend-text" >vs {{attrX}}</span>
	</div>
</div>

<div class="clearfix"></div>

<div class="barchart chart-div"></div>
{'fraction_non_alphanumeric': 0.21989841649238123, 'fraction_numerical': 0.00358530026889752, 'mean_word_length': 4.978571428571429, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '2748342', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1138, 'n_words': 220}