riku
2025-03-14 8372d022614a1897120802cf1bac90d61651177f
src/model/Legend.js
@@ -292,7 +292,7 @@
  getCustomColor: function (data, min, max) {
    var per = (max - min) / this._custom.length;
    var i = parseInt(data / per);
    var i = parseInt((data - min) / per);
    if (i >= this._custom.length) {
      i = this._custom.length - 1;
    }