chore: show last label if isSeries
This commit is contained in:
parent
1572ce07fb
commit
d4e78ebb05
@ -118,7 +118,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