MCPcopy
hub / github.com/chartjs/Chart.js / getChart

Function getChart

test/specs/core.scale.tests.js:21–35  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

19
20 describe('displaying xAxis ticks with autoSkip=true', function() {
21 function getChart(data) {
22 return window.acquireChart({
23 type: 'line',
24 data: data,
25 options: {
26 scales: {
27 x: {
28 ticks: {
29 autoSkip: true
30 }
31 }
32 }
33 }
34 });
35 }
36
37 function getChartBigData(maxTicksLimit) {
38 return window.acquireChart({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected