billboard.js 1.5.0 released today!

For the detailed release note, checkout: https://github.com/naver/billboard.js/releases/tag/1.5.0

What’s new?

Different radar types
bb.generate({
data: {
x: "x",
columns: [
["x", "Data A", "Data B", "Data C", "Data D", "Data E"],
["data1", 330, 350, 200, 380, 150]
],
type: "radar", // that's all!
}
});
tick’s text position before applying option (left) / after (right)
axis: {
y: {
tick: {
text: {
position: {
x: 10, // original x position + 10px
y: 10 // original y position + 10px
}
}
}
}
}
axis: {
x: {
clipPath: false // will not set 'clip-path' attribute
},
y: {
clipPath: false // will not set 'clip-path' attribute
}
}
Automatic multiline for x axis text
data: {
columns: [
["x",
"www.somes\nitename1\n.com",
"www.\nsomesitename2\n.com",
"www.somesitename3\n.com",
"www.\nsomesitename4.com",
"www.somesitename5\n.com"
],
["pv", 90, 100, 140, 200, 100]
],
}
Specified multiline of x axis text
var chart1 = bb.generate({
...
tooltip: {
linked: {
name: "link01" // will be linked with the 'link01' name group
}
}

var chart2 = bb.generate({
...
tooltip: {
linked: {
name: "link02" // will be linked with the 'link02' name group
}
}

var chart3 = bb.generate({
...
tooltip: {
linked: {
name: "link01"
}
}


var chart4 = bb.generate({
...
tooltip: {
linked: {
name: "link02"
}
}
linked tooltip with grouped name

What’s Next?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store