-
ksNovember 9, 2016 at 1:27 am #6619
Hello,
in a bar/ column chart – how can i change the font/size/color of the text labels on the x and y axis?thank you!
vizulyNovember 9, 2016 at 10:50 am #6621Hello KS,
You can simply adjust them in the theme file (src/theme/column_bar.js) and adjust these lines (approx line 305)
selection.selectAll(ordinalAxis + ” .tick text”)
.style(“font-weight”, _skin.ordinalAxis_font_weight)
.style(“fill”, _skin.labelColor)
.style(“fill-opacity”, 1)
.style(“font-size”, fontSize + “px”)
.style(“opacity”, function () {
return w > 399 ? 1 : 0
});//Updating our value **axis lines**.
selection.selectAll(valueAxis + ” line”)
.style(“stroke”, _skin.valueAxis_line_stroke)
.style(“stroke-width”, 1)
.style(“opacity”, _skin.valueAxis_line_opacity);– Tom
-
|
You must be logged in to reply to this topic.