Fix sample paths and include all options (#6712)

This commit is contained in:
Jukka Kurkela 2019-11-09 02:59:26 +02:00 committed by Evert Timberg
parent 9589953c02
commit fcf76c5edd

View File

@ -3,8 +3,8 @@
<head>
<title>Line Chart</title>
<script src="../../../dist/Chart.min.js"></script>
<script src="../../utils.js"></script>
<script src="../../dist/Chart.min.js"></script>
<script src="../utils.js"></script>
<style>
canvas{
-moz-user-select: none;
@ -80,14 +80,26 @@
display: true,
scaleLabel: {
display: true,
labelString: 'Month'
labelString: 'Month',
lineHeight: 1.2,
fontColor: '#911',
fontFamily: 'Comic Sans MS',
fontSize: 20,
fontStyle: 'bold',
padding: {top: 20, left: 0, right: 0, bottom: 0}
}
}],
yAxes: [{
display: true,
scaleLabel: {
display: true,
labelString: 'Value'
labelString: 'Value',
lineHeight: 1.2,
fontColor: '#191',
fontFamily: 'Times',
fontSize: 20,
fontStyle: 'normal',
padding: {top: 30, left: 0, right: 0, bottom: 0}
}
}]
}