August 12, 2022

Robotic Notes

All technology News

billboard.js 3.5 release: new boost options! πŸš€πŸ’₯ | by Jae Sung Park | Jun, 2022

3 min read


boost options

boost.useCssRule

boost: {
useCssRule: true
}

boost.useWorker

boost: {
useWorker: true
}
billboard.js (top) / Chart.js (bottom)

data.labels.rotate

data: {
labels: {
rotate: 90 // 90 degree
}
}

area.below

area: {
below: true
}

resize.timer

The current resize delay(200ms) using setTimeout()
Resize using requestIdleCallback()
resize: {
// make to use 'requestIdleCallback()'
timer: false,
}
resize: {
// trigger resize function on delay of 1000ms
// (default delay is 200ms)
timer: 1000
}

Contributors of this release

https://github.com/c3js/c3/issues/2866#issuecomment-1129582495



Source link