Refactor charts

This commit is contained in:
Thomas Nordquist
2019-07-11 22:05:02 +02:00
parent 05867dab48
commit df3e0fc047
8 changed files with 204 additions and 45 deletions

View File

@@ -35,6 +35,7 @@ export class RingBuffer<T extends Lengthwise> {
private compact() {
this.items = this.toArray()
this.start = 0
this.end = this.items.length
}