You must be logged in to post your query.
Home › Forums › Report Bugs › maximum or minimum axisY option with hidden dataserie
Setting a minimum or maximum value to an axisY cause ticks to be displayed with strange values while the associate data serie is hidden.
var chart = new CanvasJS.Chart("chartContainer", { title:{ text: "Basic Column Chart" }, axisY: [{ maximum:100, }], data: [{ visible:false, dataPoints: [ { x: 10, y: 71 }, { x: 20, y: 55}, { x: 30, y: 50 }, { x: 40, y: 65 }, { x: 50, y: 95 }, { x: 60, y: 68 }, { x: 70, y: 28 }, { x: 80, y: 34 }, { x: 90, y: 14} ] }] }); chart.render();
@fuinril,
We have recently changed the default behavior of includeZero to false(from true). Please refer the blog post for more information.
You can set includeZero to true for showing axisY minimum as 0. Please take a look at this updated JSFiddle for the same.
— Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register