Display category labels

This commit is contained in:
Franc Camps-Febrer
2018-12-04 10:35:56 +00:00
parent 3e38a0b94b
commit 9c60dfee03
3 changed files with 6 additions and 23 deletions

View File

@@ -513,7 +513,7 @@ export default function(app, ui, methods) {
axis.y =
d3.axisLeft(scale.y)
.tickValues(categories);
.tickValues(categories.map(c => c.category));
}
function update(domain, app) {