Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/uPlot.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2716,7 +2716,7 @@ function uPlot(opts, data, then) {
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};

for (let k in legendCols)
NULL_LEGEND_VALUES[k] = "--";
NULL_LEGEND_VALUES[k] = "";
}

if (showLegend) {
Expand Down Expand Up @@ -2803,7 +2803,7 @@ function uPlot(opts, data, then) {

for (var key in legendCols) {
let v = placeTag("td", LEGEND_VALUE, row);
v.textContent = "--";
v.textContent = "";
cells.push(v);
}

Expand Down
4 changes: 2 additions & 2 deletions dist/uPlot.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,7 @@ function uPlot(opts, data, then) {
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};

for (let k in legendCols)
NULL_LEGEND_VALUES[k] = "--";
NULL_LEGEND_VALUES[k] = "";
}

if (showLegend) {
Expand Down Expand Up @@ -2801,7 +2801,7 @@ function uPlot(opts, data, then) {

for (var key in legendCols) {
let v = placeTag("td", LEGEND_VALUE, row);
v.textContent = "--";
v.textContent = "";
cells.push(v);
}

Expand Down
6 changes: 3 additions & 3 deletions dist/uPlot.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ var uPlot = (function () {
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};

for (let k in legendCols)
NULL_LEGEND_VALUES[k] = "--";
NULL_LEGEND_VALUES[k] = "";
}

if (showLegend) {
Expand Down Expand Up @@ -2804,7 +2804,7 @@ var uPlot = (function () {

for (var key in legendCols) {
let v = placeTag("td", LEGEND_VALUE, row);
v.textContent = "--";
v.textContent = "";
cells.push(v);
}

Expand Down Expand Up @@ -5212,4 +5212,4 @@ var uPlot = (function () {

return uPlot;

})();
}());
2 changes: 1 addition & 1 deletion dist/uPlot.iife.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/uPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ export default function uPlot(opts, data, then) {
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};

for (let k in legendCols)
NULL_LEGEND_VALUES[k] = "--";
NULL_LEGEND_VALUES[k] = "";
}

if (showLegend) {
Expand Down Expand Up @@ -640,7 +640,7 @@ export default function uPlot(opts, data, then) {

for (var key in legendCols) {
let v = placeTag("td", LEGEND_VALUE, row);
v.textContent = "--";
v.textContent = "";
cells.push(v);
}

Expand Down