repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/segments/gradient.js
test/fixtures/controller.line/segments/gradient.js
const getGradient = (context) => { const {chart, p0, p1} = context; const ctx = chart.ctx; const {x: x0} = p0.getProps(['x'], true); const {x: x1} = p1.getProps(['x'], true); const gradient = ctx.createLinearGradient(x0, 0, x1, 0); gradient.addColorStop(0, p0.options.backgroundColor); gradient.addColorSto...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/segments/gap.js
test/fixtures/controller.line/segments/gap.js
module.exports = { config: { type: 'line', data: { labels: ['a', 'b', 'c', 'd', 'e', 'f'], datasets: [{ data: [1, 3, NaN, NaN, 2, 1], borderColor: 'black', segment: { borderColor: ctx => ctx.p0.skip || ctx.p1.skip ? 'red' : undefined, borderDash: ctx => ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/segments/slope.js
test/fixtures/controller.line/segments/slope.js
function slope({p0, p1}) { return (p0.y - p1.y) / (p1.x - p0.x); } module.exports = { config: { type: 'line', data: { labels: ['a', 'b', 'c', 'd', 'e', 'f'], datasets: [{ data: [1, 2, 3, 3, 2, 1], borderColor: 'black', segment: { borderColor: ctx => slope(ctx) ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/segments/single.js
test/fixtures/controller.line/segments/single.js
module.exports = { config: { type: 'line', data: { labels: ['a', 'b', 'c', 'd', 'e', 'f'], datasets: [{ data: [1, 2, 3, 3, 2, 1], borderColor: 'black', segment: { borderColor: 'red', } }] }, options: { scales: { x: {display: fal...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderColor/value.js
test/fixtures/controller.line/pointBorderColor/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#ff0000' }, { // option in element (fallback) data: [4, -5...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderColor/indexable.js
test/fixtures/controller.line/pointBorderColor/indexable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: [ '#ff0000', '#00ff00', '#0000ff', '#ffff00', ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderColor/scriptable.js
test/fixtures/controller.line/pointBorderColor/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: function(ctx) { var value = ctx.dataset.data[ctx.dataIndex] || 0; retur...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/backgroundColor/value.js
test/fixtures/controller.line/backgroundColor/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], backgroundColor: '#ff0000' }, { // option in element (fallback) data: [4, -5,...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/backgroundColor/scriptable.js
test/fixtures/controller.line/backgroundColor/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [4, 5, 10, null, -10, -5], backgroundColor: function(ctx) { var index = ctx.index; return index === 0 ? '#ff0000' ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/fill/no-border.js
test/fixtures/controller.line/fill/no-border.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [12, 19, 3, 5, 2, 3], backgroundColor: '#ff0000', borderWidth: 0, tension: 0.4, fill: true }, ] }, options: { ani...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/fill/order-default.js
test/fixtures/controller.line/fill/order-default.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [3, 1, 2, 0, 8, 1], backgroundColor: '#ff0000' }, { // option in element (fallback) data: [0, 4, 2, 6, 4...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/fill/order.js
test/fixtures/controller.line/fill/order.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [3, 1, 2, 0, 8, 1], backgroundColor: '#ff0000', order: 2 }, { data: [0, 4, 2, 6, 4, 8], backgroundColor: '#00ff00', ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/fill/value.js
test/fixtures/controller.line/fill/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [-2, -6, -4, -8, -6, -10], backgroundColor: '#ff0000', fill: false }, { // option in element (fallback) ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/fill/scriptable.js
test/fixtures/controller.line/fill/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [-2, -6, -4, -8, -6, -10], backgroundColor: '#ff0000', fill: function(ctx) { return ctx.datasetIndex === 0 ? true : fa...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderCapStyle/value.js
test/fixtures/controller.line/borderCapStyle/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3], datasets: [ { // option in dataset data: [null, 3, 3], borderCapStyle: 'round', }, { // option in dataset data: [null, 2, 2], borderCapStyle:...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderCapStyle/scriptable.js
test/fixtures/controller.line/borderCapStyle/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3], datasets: [ { // option in dataset data: [null, 3, 3], borderCapStyle: function(ctx) { var index = (ctx.datasetIndex % 2); return index === 0 ? 'round' ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/showLine/dataset.js
test/fixtures/controller.line/showLine/dataset.js
module.exports = { description: 'should draw all elements except lines turned off per dataset', config: { type: 'line', data: { datasets: [{ data: [10, 15, 0, -4], label: 'dataset1', borderColor: 'red', backgroundColor: 'green', showLine: false, fill: fa...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/showLine/false.js
test/fixtures/controller.line/showLine/false.js
module.exports = { description: 'should draw all elements except lines', config: { type: 'line', data: { datasets: [{ data: [10, 15, 0, -4], label: 'dataset1', borderColor: 'red', backgroundColor: 'green', fill: true }], labels: ['label1', 'label2', ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderWidth/zero.js
test/fixtures/controller.line/borderWidth/zero.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], backgroundColor: '#0000ff', borderColor: '#0000ff', borderWidth: 0 }, { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderWidth/value.js
test/fixtures/controller.line/borderWidth/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], borderColor: '#0000ff', borderWidth: 6 }, { // option in element (fallback) ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderWidth/scriptable.js
test/fixtures/controller.line/borderWidth/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [4, 5, 10, null, -10, -5], borderColor: '#0000ff', borderWidth: function(ctx) { var index = ctx.index; ret...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/cubicInterpolationMode/value.js
test/fixtures/controller.line/cubicInterpolationMode/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 4, 2, 6, 4, 8], borderColor: '#ff0000', cubicInterpolationMode: 'monotone' }, { // option in element...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/cubicInterpolationMode/scriptable.js
test/fixtures/controller.line/cubicInterpolationMode/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 4, 2, 6, 4, 8], borderColor: '#ff0000', cubicInterpolationMode: function(ctx) { return ctx.datasetIndex === 0 ? 'm...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/rotation/value.js
test/fixtures/controller.line/rotation/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#0000ff', pointRotation: 90 }, { // option in element (fal...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/rotation/indexable.js
test/fixtures/controller.line/rotation/indexable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#00ff00', pointRotation: [ 0, 30, 60, 90, 120, 150 ] }...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/rotation/scriptable.js
test/fixtures/controller.line/rotation/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#0000ff', pointRotation: function(ctx) { var value = ctx.dataset.data[ct...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderJoinStyle/value.js
test/fixtures/controller.line/borderJoinStyle/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2], datasets: [ { // option in dataset data: [6, 18, 6], borderColor: '#ff0000', borderJoinStyle: 'round', }, { // option in element (fallback) data...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/borderJoinStyle/scriptable.js
test/fixtures/controller.line/borderJoinStyle/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2], datasets: [ { // option in dataset data: [6, 18, 6], borderColor: '#ff0000', borderJoinStyle: function(ctx) { var index = ctx.datasetIndex % 3; return index...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/stacked-scatter.js
test/fixtures/controller.line/stacking/stacked-scatter.js
module.exports = { config: { type: 'scatter', data: { datasets: [{ label: 'label1', data: [{ x: 0, y: 30 }, { x: 5, y: 35 }, { x: 10, y: 20 }], backgroundColor: '#42A8E4' }, { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/updates.js
test/fixtures/controller.line/stacking/updates.js
module.exports = { description: 'https://github.com/chartjs/Chart.js/issues/9424', config: { type: 'line', data: { labels: [0, 1, 2], datasets: [ { data: [1, 1, 1], stack: 's1', borderColor: '#ff0000', }, { data: [2, 2, 2], ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/order-specified.js
test/fixtures/controller.line/stacking/order-specified.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [3, 1, 2, 0, 8, 1], backgroundColor: '#ff0000', order: 2 }, { // option in element (fallback) ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/bounds-data.js
test/fixtures/controller.line/stacking/bounds-data.js
module.exports = { config: { type: 'line', data: { labels: ['a', 'b'], datasets: [{ borderColor: 'red', data: [50, 75], }, { borderColor: 'blue', data: [25, 50], }] }, options: { scales: { x: { display: false }, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/order-default.js
test/fixtures/controller.line/stacking/order-default.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [3, 1, 2, 0, 8, 1], backgroundColor: '#ff0000' }, { // option in element (fallback) data: [0, 4, 2, 6, 4...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/stacking/single.js
test/fixtures/controller.line/stacking/single.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2], datasets: [ { data: [0, -1, -1], backgroundColor: '#ff0000', }, { data: [0, 2, 2], backgroundColor: '#00ff00', }, { data: [0, 0, 1], ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderWidth/value.js
test/fixtures/controller.line/pointBorderWidth/value.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#0000ff', pointBorderWidth: 6 }, { // option in element (f...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderWidth/indexable.js
test/fixtures/controller.line/pointBorderWidth/indexable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#00ff00', pointBorderWidth: [ 1, 2, 3, 4, 5, 6 ] }, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/controller.line/pointBorderWidth/scriptable.js
test/fixtures/controller.line/pointBorderWidth/scriptable.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { // option in dataset data: [0, 5, 10, null, -10, -5], pointBorderColor: '#0000ff', pointBorderWidth: function(ctx) { var value = ctx.dataset.data...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.subtitle/basic.js
test/fixtures/plugin.subtitle/basic.js
module.exports = { config: { type: 'scatter', data: { datasets: [{ data: [{x: 0, y: 0}, {x: 1, y: 1}, {x: 2, y: 2}], backgroundColor: 'red', radius: 1, hoverRadius: 0 }], }, options: { scales: { x: {display: false}, y: {display: false}...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/doughnut.js
test/fixtures/plugin.colors/doughnut.js
module.exports = { config: { type: 'doughnut', data: { datasets: [ { data: [0, 2, 4, null, 6, 8] }, { data: [5, 1, 6, 2, null, 9] } ] }, options: { plugins: { legend: false, colors: { enabled: true ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/pie.js
test/fixtures/plugin.colors/pie.js
module.exports = { config: { type: 'pie', data: { datasets: [ { data: [0, 2, 4, null, 6, 8] }, { data: [5, 1, 6, 2, null, 9] } ] }, options: { plugins: { legend: false, colors: { enabled: true } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/radar.js
test/fixtures/plugin.colors/radar.js
module.exports = { config: { type: 'radar', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [0, 5, 10, null, -10, -5] }, { data: [4, -5, -10, null, 10, 5] } ] }, options: { scales: { r: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/dynamic-datasets-default.js
test/fixtures/plugin.colors/dynamic-datasets-default.js
module.exports = { config: { type: 'bar', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [5, 5, 5, 5, 5, 5] } ] }, options: { scales: { x: { ticks: { display: false, } }, y: { t...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/polarArea.js
test/fixtures/plugin.colors/polarArea.js
module.exports = { config: { type: 'polarArea', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [0, 2, 4, null, 6, 8] } ] }, options: { scales: { r: { ticks: { display: false } } }, pl...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/dynamic-datasets-force-override.js
test/fixtures/plugin.colors/dynamic-datasets-force-override.js
module.exports = { config: { type: 'bar', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [5, 5, 5, 5, 5, 5] } ] }, options: { scales: { x: { ticks: { display: false } }, y: { ti...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/mixed.js
test/fixtures/plugin.colors/mixed.js
module.exports = { config: { data: { labels: [0, 1, 2, 3], datasets: [ { type: 'line', data: [5, 20, 1, 10], }, { type: 'bar', data: [6, 16, 3, 19] }, { type: 'pie', data: [5, 20, 1, 10], } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/bar.js
test/fixtures/plugin.colors/bar.js
module.exports = { config: { type: 'bar', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [0, 5, 10, null, -10, -5], }, { data: [10, 2, 3, null, 10, 5] } ] }, options: { scales: { x: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/scatter.js
test/fixtures/plugin.colors/scatter.js
module.exports = { config: { type: 'scatter', data: { datasets: [{ data: [{x: 10, y: 15}, {x: 15, y: 10}], pointRadius: 10, showLine: true, label: 'dataset1' }, { data: [{x: 20, y: 45}, {x: 5, y: 15}], pointRadius: 20, label: 'dataset2' ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/line.js
test/fixtures/plugin.colors/line.js
module.exports = { config: { type: 'line', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [0, 5, 10, null, -10, -5], }, { data: [10, 2, 3, null, 10, 5] } ] }, options: { scales: { x: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/chart-options-colors.js
test/fixtures/plugin.colors/chart-options-colors.js
module.exports = { config: { type: 'bar', data: { labels: [0, 1, 2, 3, 4, 5], datasets: [ { data: [0, 5, 10, null, -10, -5], }, { data: [10, 2, 3, null, 10, 5] } ] }, options: { backgroundColor: ['red', 'green'], scales:...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/plugin.colors/bubble.js
test/fixtures/plugin.colors/bubble.js
module.exports = { config: { type: 'bubble', data: { datasets: [{ data: [{x: 12, y: 54, r: 22.4}] }, { data: [{x: 18, y: 38, r: 25}] }] }, options: { scales: { x: { ticks: { display: false, } }, y: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/large-values-small-range.js
test/fixtures/scale.logarithmic/large-values-small-range.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [5000.002, 5000.012, 5000.01, 5000.03, 5000.04, 5000.004, 5000.03...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/large-range.js
test/fixtures/scale.logarithmic/large-range.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [23, 21, 34, 52, 115, 3333, 5116] }] }, options: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/small-range.js
test/fixtures/scale.logarithmic/small-range.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [3, 1, 4, 2, 5, 3, 16] }] }, options: { respo...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/null-values.js
test/fixtures/scale.logarithmic/null-values.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [ 150, null, 1500, 200, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/med-range.js
test/fixtures/scale.logarithmic/med-range.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [25, 24, 27, 32, 45, 30, 28] }] }, options: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/scale.logarithmic/min-max.js
test/fixtures/scale.logarithmic/min-max.js
module.exports = { config: { type: 'line', data: { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [{ backgroundColor: 'red', borderColor: 'red', fill: false, data: [250, 240, 270, 320, 450, 300, 280] }] }, options: ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-inner-reverse.js
test/fixtures/core.scale/label-align-inner-reverse.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'inner' }, reverse: true } } } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/x-axis-position-dynamic-margin.js
test/fixtures/core.scale/x-axis-position-dynamic-margin.js
module.exports = { config: { type: 'line', options: { scales: { x: { labels: ['Left Label', 'Center Label', 'Right Label'], position: { y: 30 }, }, y: { display: false, min: -100, max: 100, } } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-inner-onlyX.js
test/fixtures/core.scale/label-align-inner-onlyX.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1_long', 'Label2_long', 'Label3_long'] }, options: { scales: { x: { ticks: { align: 'inner', }, }, y: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/tick-backdrop.js
test/fixtures/core.scale/tick-backdrop.js
const grid = { display: false }; const title = { display: false, }; module.exports = { config: { type: 'line', options: { events: [], scales: { top: { type: 'linear', position: 'top', ticks: { display: true, showLabelBackdrop: true,...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/backgroundColor.js
test/fixtures/core.scale/backgroundColor.js
const ticks = { display: false }; const grid = { display: false }; const title = { display: true, test: '' }; module.exports = { config: { type: 'line', options: { events: [], scales: { top: { type: 'linear', backgroundColor: 'red', position: 'top', ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-inner-rotate.js
test/fixtures/core.scale/label-align-inner-rotate.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'inner', maxRotation: 45, minRotation: 45 ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/border-behind-elements.js
test/fixtures/core.scale/border-behind-elements.js
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: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/ticks-mirror.js
test/fixtures/core.scale/ticks-mirror.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, -1, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { y: { ticks: { mirror: true } } } } }, options: { sprite...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-center.js
test/fixtures/core.scale/label-align-center.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'center', }, }, y: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-inner.js
test/fixtures/core.scale/label-align-inner.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'inner', }, } } } }, options: { spr...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-end.js
test/fixtures/core.scale/label-align-end.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'end', }, }, y: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/tick-backdrop-alignment-inner.js
test/fixtures/core.scale/tick-backdrop-alignment-inner.js
module.exports = { config: { type: 'line', data: { labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'], datasets: [ { label: '# of Votes', data: [12, 19, 3, 5, 2, 3], }, { label: '# of Points', data: [7, 11, 5, 8, 3, 7], ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/ticks-mirror-x.js
test/fixtures/core.scale/ticks-mirror-x.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, -1, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { mirror: true } }, y: { display: false ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/label-align-start.js
test/fixtures/core.scale/label-align-start.js
module.exports = { config: { type: 'line', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Label1', 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { align: 'start', }, }, y: { ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/tick-backdrop-rotation.js
test/fixtures/core.scale/tick-backdrop-rotation.js
const grid = { display: false }; const title = { display: false, }; module.exports = { tolerance: 0.0016, config: { type: 'line', options: { events: [], scales: { top: { type: 'linear', position: 'top', ticks: { display: true, sho...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/ticks/rotated-multi-line.js
test/fixtures/core.scale/ticks/rotated-multi-line.js
module.exports = { config: { type: 'line', data: { labels: [['Red', 'Red', 'Red', 'Red'], ['Blue', 'Blue', 'Blue', 'Blue'], ['Black', 'Black', 'Black', 'Black'], ['Green', 'Green', 'Green', 'Green'], ['Purple', 'Purple', 'Purple', 'Purple'], ['Orange Orange', 'Orange', 'Orange', 'Orange', 'Orange Orange...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/ticks/rotated-long.js
test/fixtures/core.scale/ticks/rotated-long.js
module.exports = { config: { type: 'line', data: { labels: ['Red Red Red Red', 'Blue Blue Blue Blue', 'Black Black Black Black', 'Green Green Green Green', 'Purple Purple Purple Purple', 'Orange Orange Orange Orange Orange Orange'], datasets: [ { data: [12, 19, 3, 5, 2, 3] ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/ticks/skip-by-callback.js
test/fixtures/core.scale/ticks/skip-by-callback.js
module.exports = { description: 'https://github.com/chartjs/Chart.js/issues/8892', config: { type: 'line', data: { labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'], datasets: [ { data: [12, 19, 3, 5, 2, 3], }, { data: [7, 11, 5, 8, 3, 7],...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/autoSkip/offset.js
test/fixtures/core.scale/autoSkip/offset.js
module.exports = { description: 'https://github.com/chartjs/Chart.js/issues/8611', config: { type: 'bar', data: { labels: ['Red Red Red', 'Blue Blue Blue', 'Black Black Black', 'Pink Pink Pink'], datasets: [ { label: '# of Votes', data: [12, 19, 3, 5] }, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/autoSkip/no-offset.js
test/fixtures/core.scale/autoSkip/no-offset.js
module.exports = { description: 'https://github.com/chartjs/Chart.js/issues/8611', config: { type: 'line', data: { labels: ['Red Red Red', 'Blue Blue Blue', 'Black Black Black', 'Pink Pink Pink'], datasets: [ { label: '# of Votes', data: [12, 19, 3, 5] }, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/autoSkip/fit-after.js
test/fixtures/core.scale/autoSkip/fit-after.js
module.exports = { description: 'https://github.com/chartjs/Chart.js/issues/3694', tolerance: 0.002, config: { type: 'line', data: { labels: [ 'Aaron', 'Adam', 'Albert', 'Alex', 'Allan', 'Aman', 'Anthony', 'Autoenrolment', 'Avri...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-far.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-right-far.js
test/fixtures/core.scale/crossAlignment/cross-align-right-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { crossAlign: 'far'...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-top-far.js
test/fixtures/core.scale/crossAlignment/cross-align-top-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { position: 'top', ticks: { crossAlign: 'far', },...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-near.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-left-center.js
test/fixtures/core.scale/crossAlignment/cross-align-left-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { crossAlign: 'cente...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-top-near.js
test/fixtures/core.scale/crossAlignment/cross-align-top-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { position: 'top', ticks: { crossAlign: 'near', }...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-left-far-clipped.js
test/fixtures/core.scale/crossAlignment/cross-align-left-far-clipped.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long long long label 1', 'Label 2', 'Less more longer label 3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-top-center.js
test/fixtures/core.scale/crossAlignment/cross-align-top-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { position: 'top', ticks: { crossAlign: 'center', ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-right-center.js
test/fixtures/core.scale/crossAlignment/cross-align-right-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { crossAlign: 'cent...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-right-near.js
test/fixtures/core.scale/crossAlignment/cross-align-right-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { crossAlign: 'near...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-left-near.js
test/fixtures/core.scale/crossAlignment/cross-align-left-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { crossAlign: 'near'...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-bottom-near.js
test/fixtures/core.scale/crossAlignment/cross-align-bottom-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { crossAlign: 'near', }, }, } } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-center.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-left-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-bottom-center.js
test/fixtures/core.scale/crossAlignment/cross-align-bottom-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { crossAlign: 'center', }, }, } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-far.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-left-far.js
test/fixtures/core.scale/crossAlignment/cross-align-left-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'left', ticks: { crossAlign: 'far',...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-center.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-center.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-bottom-far.js
test/fixtures/core.scale/crossAlignment/cross-align-bottom-far.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: [['Label1', 'line 2', 'line3'], 'Label2', 'Label3'] }, options: { scales: { x: { ticks: { crossAlign: 'far', }, }, } } ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-near.js
test/fixtures/core.scale/crossAlignment/mirror-cross-align-right-near.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long label 1', 'Label2', 'Label3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { mirror: true, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/crossAlignment/cross-align-right-far-clipped.js
test/fixtures/core.scale/crossAlignment/cross-align-right-far-clipped.js
module.exports = { config: { type: 'bar', data: { datasets: [{ data: [1, 2, 3], }], labels: ['Long long long long label 1', 'Label 2', 'Less more longer label 3'] }, options: { indexAxis: 'y', scales: { y: { position: 'right', ticks: { ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/title/horizontal-value.js
test/fixtures/core.scale/title/horizontal-value.js
module.exports = { config: { type: 'line', options: { events: [], scales: { y: { type: 'linear', position: 'left', min: 0, max: 100, ticks: { display: false }, grid: { display: false }, ...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/title/align-start.js
test/fixtures/core.scale/title/align-start.js
module.exports = { config: { type: 'line', options: { events: [], scales: { top: { type: 'linear', position: 'top', ticks: { display: false }, grid: { display: false }, title: { displa...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false
chartjs/Chart.js
https://github.com/chartjs/Chart.js/blob/a153556861074e827358446ec937555ac58c3d11/test/fixtures/core.scale/title/default.js
test/fixtures/core.scale/title/default.js
module.exports = { config: { type: 'line', options: { events: [], scales: { top: { type: 'linear', position: 'top', ticks: { display: false }, grid: { display: false }, title: { displa...
javascript
MIT
a153556861074e827358446ec937555ac58c3d11
2026-01-04T14:56:49.667758Z
false