score:0

if you use crosstext instead of label, you can adjust the font weight by setting these options:

var options = {
        crosstextfontsize : [80],
        crosstextfontfamily : ["open sans"],
        crosstextfontstyle : ["bold"],
        crosstextfontcolor : ["#ff0000"],
        crosstextrelativeposx : [2],
        crosstextrelativeposy : [2],
        crosstextposx : [0],
        crosstextposy : [0],
        crosstextalign : ["center"],
        crosstextbaseline : ["middle"]
    }

i'm not sure why they decided to put the fontweight under fontstyle, but it works.

wiki: https://github.com/fvancop/chartnew.js/wiki/100_040_crosstext


Related Query

More Query from same tag