You must be logged in to post your query.
Home › Forums › Chart Support › overlap x axis
Tagged: Canvas Js issue
Hi, I have one issue how to add auto height in cavasJs
you have to check Below link
https://imgur.com/gallery/JmJ8H6l
this is my example https://jsfiddle.net/QwZuf/1659/ ***************************** below my script ***************************** var chartBestScore = new CanvasJS.Chart(“chartBestScore”, { // height:5500,//in pixels animationEnabled: true, axisX: { labelFontSize: 12 }, axisY2: { maximum: 100, labelFontSize: 14 }, toolTip: { enabled: false, }, dataPointWidth: 19, data: [{ indexLabelFontColor: “#000000”, indexLabelPlacement: “inside”, type: “bar”, indexLabelFontSize: 15, axisYType: “secondary”, color: “#1B77D1”, indexLabel: “indexLabel”, dataPoints: bestScoredAreas }] }); chartBestScore.render();
Rajesh,
You can set height of the chart dynamically with the help of set method. Please take a look at this jsfiddle.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register