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

Function getChartWithoutScaleTitleStroke

test/specs/core.scale.tests.js:900–924  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

898 }
899
900 function getChartWithoutScaleTitleStroke() {
901 return window.acquireChart({
902 type: 'line',
903 options: {
904 scales: {
905 x: {
906 type: 'linear',
907 title: {
908 display: true,
909 text: 'title-x',
910 color: '#ddd'
911 }
912 },
913 y: {
914 type: 'linear',
915 title: {
916 display: true,
917 text: 'title-y',
918 color: '#ddd'
919 }
920 }
921 }
922 }
923 });
924 }
925
926 it('should draw a scale title stroke when provided x-axis', function() {
927 var chart = getChartWithScaleTitleStroke();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected