|
|
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:52, 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...
{"polygons":[{"pos":[{"lat":41.8938,"lon":107.319},{"lat":41.9599,"lon":107.2497},{"lat":41.9271,"lon":107.0922}],"title":"\u003Ca href=\"
https://opengeofiction.net/relation/305127\"\u003EKarva Island\u003C/a\u003E\u003Cbr/\u003ECapital: \u003Ca href =\"
https://opengeofiction.net/node/333346880\"\u003ECasswick\u003C/a\u003E\u003Cbr/\u003EPopulation: 12,353\u003Cbr/\u003EArea: 125.32 Sq Mi\u003Cbr/\u003EPopulation density: 891","color":"#345e0e","weight":"10","opacity":"0.25","fill":true,"fillcolor":"#0210ff","fillopacity":"0.25"}],"tileLayer":"//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","attribution":"\u0026copy; \u003Ca href=\"
http://osm.org/copyright\"\u003EOpenStreetMap\u003C/a\u003E contributors","center":{"lat":41.9195,"lon":107.1831},"zoom":"12","maxzoom":"14","minzoom":"3"}