chart2music
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -191,2 +191,5 @@ var c2mChart = (function (exports) { | ||
} | ||
clear() { | ||
this._element.innerHTML = ""; | ||
} | ||
render(text) { | ||
@@ -562,6 +565,6 @@ const paddedText = this._creatPaddedText(text); | ||
} | ||
if ((axis.minimum && num < axis.minimum)) { | ||
if (axis.minimum && num < axis.minimum) { | ||
return "too low"; | ||
} | ||
if ((axis.maximum && num > axis.maximum)) { | ||
if (axis.maximum && num > axis.maximum) { | ||
return "too high"; | ||
@@ -1013,2 +1016,3 @@ } | ||
this._chartElement.addEventListener("focus", () => { | ||
this._sr.clear(); | ||
if (this._options.live) { | ||
@@ -1255,5 +1259,3 @@ this._generateSummary(); | ||
const current = this._data[this._groupIndex][this._pointIndex]; | ||
const point = generatePointDescription(current, formatWrapper(this._xAxis), formatWrapper(isAlternateAxisDataPoint(current) | ||
? this._y2Axis | ||
: this._yAxis), availableStats[statIndex]); | ||
const point = generatePointDescription(current, formatWrapper(this._xAxis), formatWrapper(isAlternateAxisDataPoint(current) ? this._y2Axis : this._yAxis), availableStats[statIndex]); | ||
const text = (this._flagNewGroup ? `${this._groups[this._groupIndex]}, ` : "") + | ||
@@ -1260,0 +1262,0 @@ (this._flagNewStat |
{ | ||
"name": "chart2music", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120257
17
2897