fix chart legend

This commit is contained in:
Omsi 2018-01-27 11:13:18 -08:00
parent 64c2e6a027
commit acc37f4969
2 changed files with 2 additions and 1 deletions

View File

@ -784,6 +784,7 @@
<b>enabled:</b> <b>enabled:</b>
<input id="chartOnOff" type="checkbox" onchange="enableChart()"></input> <input id="chartOnOff" type="checkbox" onchange="enableChart()"></input>
<canvas id="normalDimChart" width="1500" height="500" style="user-select: none;"></canvas> <canvas id="normalDimChart" width="1500" height="500" style="user-select: none;"></canvas>
<b>Exponents of antimatter per second</b>
</div> </div>
<div id="progress" ach-tooltip="Percentage until Infinity"> <div id="progress" ach-tooltip="Percentage until Infinity">
<div id="progressbar"></div> <div id="progressbar"></div>

View File

@ -401,7 +401,7 @@ var normalDimChart = new Chart(ctx2, {
tooltips: {enabled: false}, tooltips: {enabled: false},
hover: {mode: null}, hover: {mode: null},
legend: { legend: {
position: 'bottom', display: false,
labels: { labels: {
boxWidth: 0 boxWidth: 0
} }