Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/boxplot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function initChart(canvas, width, height, dpr) {
});
canvas.setChart(chart);

var option = {
const option = {
title: {
text: 'Dispersion of house price\naccording to the number of bedrooms',
x: 'center',
Expand Down Expand Up @@ -50,7 +50,7 @@ function initChart(canvas, width, height, dpr) {
}
},
splitLine: {
show: false
show: false,
}
},

Expand Down Expand Up @@ -182,7 +182,7 @@ Page({
},
data: {
ec: {
onInit: initChart
onInit: initChart,
}
},

Expand Down