remove 'or last'
This commit is contained in:
parent
cf3d3eb0f0
commit
133e0a7646
|
@ -264,7 +264,7 @@ const getXTicksFromIncrementFactor = ( uniqueDates, incrementFactor ) => {
|
|||
ticks.push( uniqueDates[ idx ] );
|
||||
}
|
||||
|
||||
// If the first or last date is missing from the ticks array, add it back in.
|
||||
// If the first date is missing from the ticks array, add it back in.
|
||||
if ( ticks[ 0 ] !== uniqueDates[ 0 ] ) {
|
||||
ticks.unshift( uniqueDates[ 0 ] );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue