17 lines
460 B
HTML
17 lines
460 B
HTML
<div class="ct-chart ct-golden-section" id="chart1"></div>
|
|
<div class="ct-chart ct-golden-section" id="chart2"></div>
|
|
|
|
<script>
|
|
// Initialize a Line chart in the container with the ID chart1
|
|
new Chartist.Line('#chart1', {
|
|
labels: [1, 2, 3, 4],
|
|
series: [[100, 120, 180, 200]]
|
|
});
|
|
|
|
// Initialize a Line chart in the container with the ID chart2
|
|
new Chartist.Bar('#chart2', {
|
|
labels: [1, 2, 3, 4],
|
|
series: [[5, 2, 8, 3]]
|
|
});
|
|
</script>
|