Hide min and max values from y Axis in Chart.js
问题 I have assigned the min and max of Y axes with the tick configuration.But I do not want these min max values to be shown in the graph.I need to hide these values at both the ends ticks: { callback: function(value){ returnparseFloat(value.toFixed(2)) }, min: y1_min, max: y1_max, fontColor: "#000000", fontSize: 12 }, 回答1: In order to hide specific ticks (in your case the first and last tick), you have to use the scale afterTickToLabelConversion callback property and set the value = null of the