mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-05 07:54:04 +01:00
Update tests for new config option
This commit is contained in:
@@ -217,6 +217,7 @@ describe('Core helper tests', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true, // draw ticks extending towards the label
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
@@ -246,7 +247,8 @@ describe('Core helper tests', function() {
|
||||
gridLines: {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true, // draw ticks extending towards the label
|
||||
drawTicks: true, // draw ticks extending towards the label,
|
||||
tickMarkLength: 10
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
@@ -16,6 +16,7 @@ describe('Category scale tests', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true, // draw ticks extending towards the label
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
@@ -15,6 +15,7 @@ describe('Linear Scale', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true, // draw ticks extending towards the label
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
@@ -14,6 +14,7 @@ describe('Logarithmic Scale tests', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true,
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
@@ -20,6 +20,7 @@ describe('Test the radial linear scale', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true,
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
@@ -40,6 +40,7 @@ describe('Time scale tests', function() {
|
||||
color: "rgba(0, 0, 0, 0.1)",
|
||||
drawOnChartArea: true,
|
||||
drawTicks: true,
|
||||
tickMarkLength: 10,
|
||||
lineWidth: 1,
|
||||
offsetGridLines: false,
|
||||
display: true,
|
||||
|
||||
Reference in New Issue
Block a user