Usuário:Elessar2/Chartjs test

De RuneScape Wiki
Ir para: navegação, pesquisa
{"type":"scatter","data":{"datasets":[{"data":[{"y":0.1,"x":1},{"y":1.1,"x":11},{"y":2.1,"x":21},{"y":3.1,"x":31},{"y":4.1,"x":41},{"y":5.1,"x":51},{"y":6.1,"x":61},{"y":7.1,"x":71},{"y":8.1,"x":81},{"y":9.1,"x":91}],"label":"line 1","borderColor":"rgba(166,206,227,1)","showLine":true,"backgroundColor":"rgba(166,206,227,0.2)","fill":false},{"data":[{"y":0.2,"x":1},{"y":2.2,"x":11},{"y":4.2,"x":21},{"y":6.2,"x":31},{"y":8.2,"x":41},{"y":10.2,"x":51},{"y":12.2,"x":61},{"y":14.2,"x":71},{"y":16.2,"x":81},{"y":18.2,"x":91}],"label":"line 2","borderColor":"rgba(31,120,180,1)","showLine":true,"backgroundColor":"rgba(31,120,180,0.2)","fill":false},{"data":[{"y":0.5,"x":1},{"y":5.5,"x":11},{"y":10.5,"x":21},{"y":15.5,"x":31},{"y":20.5,"x":41},{"y":25.5,"x":51},{"y":30.5,"x":61},{"y":35.5,"x":71},{"y":40.5,"x":81},{"y":45.5,"x":91}],"label":"line 3","borderColor":"rgba(178,223,138,1)","showLine":true,"backgroundColor":"rgba(178,223,138,0.2)","fill":false},{"data":[{"y":1,"x":1},{"y":11,"x":11},{"y":21,"x":21},{"y":31,"x":31},{"y":41,"x":41},{"y":51,"x":51},{"y":61,"x":61},{"y":71,"x":71},{"y":81,"x":81},{"y":91,"x":91}],"label":"line 4","borderColor":"rgba(51,160,44,1)","showLine":true,"backgroundColor":"rgba(51,160,44,0.2)","fill":false},{"data":[{"y":1.5,"x":1},{"y":16.5,"x":11},{"y":31.5,"x":21},{"y":46.5,"x":31},{"y":61.5,"x":41},{"y":76.5,"x":51},{"y":91.5,"x":61},{"y":106.5,"x":71},{"y":121.5,"x":81},{"y":136.5,"x":91}],"label":"line 5","borderColor":"rgba(251,154,153,1)","showLine":true,"backgroundColor":"rgba(251,154,153,0.2)","fill":false},{"pointRadius":5,"label":"line 6","showLine":true,"pointStyle":"triangle","borderDash":[5,5],"borderColor":"rgba(166,206,227,1)","data":[{"y":2,"x":1},{"y":22,"x":11},{"y":42,"x":21},{"y":62,"x":31},{"y":82,"x":41},{"y":102,"x":51},{"y":122,"x":61},{"y":142,"x":71},{"y":162,"x":81},{"y":182,"x":91}],"backgroundColor":"rgba(166,206,227,0.2)","fill":false},{"pointRadius":5,"label":"line 7","showLine":true,"pointStyle":"triangle","borderDash":[5,5],"borderColor":"rgba(31,120,180,1)","data":[{"y":3,"x":1},{"y":33,"x":11},{"y":63,"x":21},{"y":93,"x":31},{"y":123,"x":41},{"y":153,"x":51},{"y":183,"x":61},{"y":213,"x":71},{"y":243,"x":81},{"y":273,"x":91}],"backgroundColor":"rgba(31,120,180,0.2)","fill":false},{"pointRadius":5,"label":"line 8","showLine":true,"pointStyle":"triangle","borderDash":[5,5],"borderColor":"rgba(178,223,138,1)","data":[{"y":4,"x":1},{"y":44,"x":11},{"y":84,"x":21},{"y":124,"x":31},{"y":164,"x":41},{"y":204,"x":51}],"backgroundColor":"rgba(178,223,138,0.2)","fill":false},{"pointRadius":5,"label":"line 9","showLine":true,"pointStyle":"triangle","borderDash":[5,5],"borderColor":"rgba(51,160,44,1)","data":[{"y":5,"x":1},{"y":55,"x":11},{"y":105,"x":21},{"y":155,"x":31},{"y":205,"x":41}],"backgroundColor":"rgba(51,160,44,0.2)","fill":false},{"pointRadius":5,"label":"line 10","showLine":true,"pointStyle":"triangle","borderDash":[5,5],"borderColor":"rgba(251,154,153,1)","data":[{"y":100,"x":1},{"y":100,"x":11},{"y":100,"x":21},{"y":100,"x":31},{"y":100,"x":41},{"y":100,"x":51},{"y":100,"x":61},{"y":100,"x":71},{"y":100,"x":81},{"y":100,"x":91}],"backgroundColor":"rgba(251,154,153,0.2)","fill":false}]},"options":{"maintainAspectRatio":false,"scales":{"y":{"scaleLabel":{"display":true,"labelString":"y"}},"x":{"scaleLabel":{"display":true,"labelString":"x"}}},"tooltips":{"mode":"x","intersect":false,"position":"nearest"}}}

color references[editar | editar código-fonte]