MCPcopy Create free account
hub / github.com/chartjs/Chart.js / acquirePointChart

Function acquirePointChart

test/specs/core.controller.spec.js:3120–3131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3118 });
3119
3120 function acquirePointChart() {
3121 return acquireChart({
3122 type: 'line',
3123 data: {
3124 labels: ['a', 'b', 'c'],
3125 datasets: [{data: [1, 2, 3], pointRadius: 3, pointHoverRadius: 8}]
3126 },
3127 options: {
3128 interaction: {mode: 'nearest', intersect: false}
3129 }
3130 });
3131 }
3132
3133 it('should not leave the hover options on a hovered point of a hidden dataset', async function() {
3134 const chart = acquirePointChart();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected