User:MiniMapper: Difference between revisions
MiniMapper (talk | contribs) No edit summary |
MiniMapper (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
</small></div> | </small></div> | ||
</div> | </div> | ||
const DATA_COUNT = 12; | |||
const labels = []; | |||
for (let i = 0; i < DATA_COUNT; ++i) { | |||
labels.push(i.toString()); | |||
} | |||
const datapoints = [0, 20, 20, 60, 60, 120, NaN, 180, 120, 125, 105, 110, 170]; | |||
const data = { | |||
labels: labels, | |||
datasets: [ | |||
{ | |||
label: 'Cubic interpolation (monotone)', | |||
data: datapoints, | |||
borderColor: Utils.CHART_COLORS.red, | |||
fill: false, | |||
cubicInterpolationMode: 'monotone', | |||
tension: 0.4 | |||
}, { | |||
label: 'Cubic interpolation', | |||
data: datapoints, | |||
borderColor: Utils.CHART_COLORS.blue, | |||
fill: false, | |||
tension: 0.4 | |||
}, { | |||
label: 'Linear interpolation (default)', | |||
data: datapoints, | |||
borderColor: Utils.CHART_COLORS.green, | |||
fill: false | |||
} | |||
] | |||
}; |
Revision as of 02:51, 23 December 2023
Hello! I am MiniMapper, I don't do all too much here and count yourself as lucky if you find anything I have made. If you ever have a problem with a place I made please message me and I will try to fix it!
Loading map...
Rank | City | Province | Population | Area [km2] | Density |
---|---|---|---|---|---|
1 | Berbest∈⊾ | Berbest Block∈⊾ | 313,271 | 49.071 | 6384 |
2 | Bossanova∈⊾ | Berbest Block∈⊾ | 130,000 | 22.322 | 5824 |
const DATA_COUNT = 12;
const labels = [];
for (let i = 0; i < DATA_COUNT; ++i) {
labels.push(i.toString());
} const datapoints = [0, 20, 20, 60, 60, 120, NaN, 180, 120, 125, 105, 110, 170]; const data = {
labels: labels, datasets: [ { label: 'Cubic interpolation (monotone)', data: datapoints, borderColor: Utils.CHART_COLORS.red, fill: false, cubicInterpolationMode: 'monotone', tension: 0.4 }, { label: 'Cubic interpolation', data: datapoints, borderColor: Utils.CHART_COLORS.blue, fill: false, tension: 0.4 }, { label: 'Linear interpolation (default)', data: datapoints, borderColor: Utils.CHART_COLORS.green, fill: false } ]
};