/
githubmirror
/
Chart.js
Обзор
Документация
Войти
/
githubmirror
/
Chart.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixtures/core.scale/border-behind-elements.js
49 строк
793 B
Jacco van den Berg
Put the border opts in own object (#10571)
18 авг 2022, 16:07
Не верифицирован
18 авг 2022, 16:07
3eb9477
Код
Авторство
О чём код?
module.exports = { config: { type: 'bubble', data: { datasets: [ { label: '# of Votes', data: [{x: 19, y: 3, r: 3}, {x: 2, y: 2, r: 60}], radius: 100, backgroundColor: 'pink' } ] }, options: { plugins: { legend: { display: false } }, scales: { y: { ticks: { display: false }, border: { color: 'red', width: 5 } }, x: { ticks: { display: false }, border: { color: 'red', width: 5 } } } } }, options: { canvas: { height: 512, width: 512 } } };