()
| 868 | }); |
| 869 | describe('Scale Title stroke', ()=>{ |
| 870 | function getChartWithScaleTitleStroke() { |
| 871 | return window.acquireChart({ |
| 872 | type: 'line', |
| 873 | options: { |
| 874 | scales: { |
| 875 | x: { |
| 876 | type: 'linear', |
| 877 | title: { |
| 878 | display: true, |
| 879 | text: 'title-x', |
| 880 | color: '#ddd', |
| 881 | strokeWidth: 1, |
| 882 | strokeColor: '#333' |
| 883 | } |
| 884 | }, |
| 885 | y: { |
| 886 | type: 'linear', |
| 887 | title: { |
| 888 | display: true, |
| 889 | text: 'title-y', |
| 890 | color: '#ddd', |
| 891 | strokeWidth: 2, |
| 892 | strokeColor: '#222' |
| 893 | } |
| 894 | } |
| 895 | } |
| 896 | } |
| 897 | }); |
| 898 | } |
| 899 | |
| 900 | function getChartWithoutScaleTitleStroke() { |
| 901 | return window.acquireChart({ |