feat: always show last label when xIsSeries is toggled
This commit is contained in:
parent
399ff37b6a
commit
4d8321e9be
@ -120,7 +120,7 @@ export function getShortenedLabels(chartWidth, labels=[], isSeries=true) {
|
||||
label = label.slice(0, allowedLetters) + '..';
|
||||
}
|
||||
} else {
|
||||
if(i % seriesMultiple !== 0) {
|
||||
if(i % seriesMultiple !== 0 && i !== (labels.length - 1)) {
|
||||
label = "";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user