You must be logged in to post your query.
Home › Forums › Report Bugs › setting a value undefined do not display the values (it works for null)
var chart = new CanvasJS.Chart("chartContainer", { title: { text: "Axis Y with maximum" }, axisY:{ maximum: undefined }, data: [ { type: "column", dataPoints: [ { x: 100, y: 71 }, { x: 200, y: 55}, { x: 300, y: 50 }, { x: 400, y: 65 }, { x: 500, y: 95 }, { x: 600, y: 68 }, { x: 700, y: 28 }, { x: 800, y: 34 }, { x: 900, y: 14} ] } ] }); chart.render(); }
@scompliance,
Axis maximum supports number, date-time (date object or timestamp) and null values & doesn’t support undefined. When null value is passed, maximum gets reset to default value.
— Sachin Bisht Team CanvasJS
You must be logged in to reply to this topic. Login/Register