Skip to content

Raw Github #18

@milesmiles902

Description

@milesmiles902

Shouldn't this be an option for your library? It doesn't seem to be working.

<script src ="https://raw.github.com/tmroyal/Chart.HeatMap/blob/master/dst/Chart.HeatMap.S.min.js"></script>
<canvas id="heatmap" width="800" height="400"></canvas>
					<script>
						var ctx = document.getElementById('heatmap').getContext('2d');
						var newChart = new Chart(ctx).HeatMap(data, options);
						var data = {
							labels = ['0h','1h','2h','3h','4h','5h','6h','7h','8h','9h','10h','11h'],
							datasets = [
							{
								label: 'Monday',
								data: [8, 6, 5, 7, 9, 8, 1, 6, 3, 3, 8, 7]
							},
							{
								label: 'Tuesday',
								data: [6, 8, 5, 6, 5, 5, 7, 0, 0, 3, 0, 7]
							},
							{
								label: 'Wednesday',
								data: [8, 5, 6, 4, 2, 2, 3, 0, 2, 0, 10, 8]
							},
							{
								label: 'Thursday',
								data: [4, 0, 7, 4, 6, 3, 2, 4, 2, 10, 8, 2]
							},
							{
								label: 'Friday',
								data: [1, 0, 0, 7, 0, 4, 1, 3, 4, 5, 1, 10]
							}
						]
						};
					</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions