Skip to content

Commit 4824908

Browse files
committed
fix label text in chart
1 parent dbfad36 commit 4824908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function visualize(feature, label) {
353353
borderWidth: 1
354354
},
355355
{
356-
label: 'Line y = 2x + 10',
356+
label: `Line ${equationResult.textContent}`,
357357
data: [
358358
{ x: minFeatureSampleData, y: equation(minFeatureSampleData) },
359359
{ x: maxFeatureSampleData, y: equation(maxFeatureSampleData) }

0 commit comments

Comments
 (0)