Forum Replies Created by cg0000

Viewing 1 post (of 1 total)
  • in reply to: Columns does not fit chart #6182

    I found my temporary solution to this.
    I’ve modified the maxBarWidth variable of the Chart.prototype.renderColumn function in the canvasjs.js.

    From
    var maxBarWidth = (this.width * .15);
    , I changed it into
    var maxBarWidth = (this.width * .063); //or whatever value you like to fit in the chart

    Still, its temporary.
    Hope the width setting will be available soon.

    Thanks in advance!

    -chris

Viewing 1 post (of 1 total)