Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3944f6d

Browse files
committedAug 30, 2021
Use em-dash instead of double-hyphen in legend
1 parent 4fa2d2f commit 3944f6d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed
 

‎dist/uPlot.cjs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ function uPlot(opts, data, then) {
25542554
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};
25552555

25562556
for (let k in legendCols)
2557-
NULL_LEGEND_VALUES[k] = "--";
2557+
NULL_LEGEND_VALUES[k] = "";
25582558
}
25592559

25602560
if (showLegend) {
@@ -2641,7 +2641,7 @@ function uPlot(opts, data, then) {
26412641

26422642
for (var key in legendCols) {
26432643
let v = placeTag("td", LEGEND_VALUE, row);
2644-
v.textContent = "--";
2644+
v.textContent = "";
26452645
cells.push(v);
26462646
}
26472647

‎dist/uPlot.esm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,7 @@ function uPlot(opts, data, then) {
25522552
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};
25532553

25542554
for (let k in legendCols)
2555-
NULL_LEGEND_VALUES[k] = "--";
2555+
NULL_LEGEND_VALUES[k] = "";
25562556
}
25572557

25582558
if (showLegend) {
@@ -2639,7 +2639,7 @@ function uPlot(opts, data, then) {
26392639

26402640
for (var key in legendCols) {
26412641
let v = placeTag("td", LEGEND_VALUE, row);
2642-
v.textContent = "--";
2642+
v.textContent = "";
26432643
cells.push(v);
26442644
}
26452645

‎dist/uPlot.iife.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2555,7 +2555,7 @@ var uPlot = (function () {
25552555
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};
25562556

25572557
for (let k in legendCols)
2558-
NULL_LEGEND_VALUES[k] = "--";
2558+
NULL_LEGEND_VALUES[k] = "";
25592559
}
25602560

25612561
if (showLegend) {
@@ -2642,7 +2642,7 @@ var uPlot = (function () {
26422642

26432643
for (var key in legendCols) {
26442644
let v = placeTag("td", LEGEND_VALUE, row);
2645-
v.textContent = "--";
2645+
v.textContent = "";
26462646
cells.push(v);
26472647
}
26482648

‎dist/uPlot.iife.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/uPlot.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export default function uPlot(opts, data, then) {
530530
legendCols = multiValLegend ? getMultiVals(self, 1, 0) : {_: 0};
531531

532532
for (let k in legendCols)
533-
NULL_LEGEND_VALUES[k] = "--";
533+
NULL_LEGEND_VALUES[k] = "";
534534
}
535535

536536
if (showLegend) {
@@ -617,7 +617,7 @@ export default function uPlot(opts, data, then) {
617617

618618
for (var key in legendCols) {
619619
let v = placeTag("td", LEGEND_VALUE, row);
620-
v.textContent = "--";
620+
v.textContent = "";
621621
cells.push(v);
622622
}
623623

0 commit comments

Comments
 (0)
Please sign in to comment.