Home Forums Chart Support How to change font? don`t work fontFamily

How to change font? don`t work fontFamily

Viewing 1 post (of 1 total)
  • #12576

    var chart = new CanvasJS.Chart(targetName, {
    title: {
    text: sectionGroupName==null||sectionGroupName.length==0?””:sectionGroupName,
    fontSize: 20
    },
    toolTip: {
    fontStyle: “normal”
    },
    axisX: {
    lineThickness: 1,
    gridThickness: 0,
    labelFontSize: 11,
    labelAngle: 0,
    labelWrap :true,
    labelFontFamily: “Calibri, Tahoma, Arial, Gulim, Dotum”
    },
    axisY: {
    lineThickness: 0,
    gridThickness: 1,
    maximum: 100,
    labelFontSize: 11,
    labelFontFamily: “Calibri, Tahoma, Arial, Gulim, Dotum”
    },
    axisY2: {
    lineThickness: 0,
    gridThickness: 1,
    maximum: 100,
    interval: 10,
    labelFontSize: 11,
    labelFontFamily: “Calibri, Tahoma, Arial, Gulim, Dotum”
    },
    legend:{
    fontSize: 11,
    },
    dataPointMaxWidth: 20,
    dataPointMinWidth: 20,
    data: dataDynamic
    });
    return chart;

    cetain computer default fontFamily ‘Calibri’
    cetain computer default fontFamily ‘Gulim’ or ‘Dotum’
    so setOption labelFontFamily like “Calibri, Tahoma, Arial, Gulim, Dotum” but don`t working
    why don`t work labelFontFamily?
    and almost computer have font ‘Calibri’, ‘Gulim’, ‘Dotum’ ..etc
    why different default fontFamily? Although set labelFontFamily like “Calibri, Tahoma, Arial, Gulim, Dotum”
    before render chart

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.