diff --git a/bbtimeline.js b/bbtimeline.js index 81bb04a..02d7f6d 100644 --- a/bbtimeline.js +++ b/bbtimeline.js @@ -403,10 +403,7 @@ class BBTimeline { calcXAxisHeight() { const a = this; - - console.log(a.Axis.Font); const labelSize = a.measureText(a.Axis.Font, "0"); - const result = labelSize.Height + a.Axis.LabelSpacing + (a.Axis.X.DayLineHeight * 2); return result; diff --git a/demo-test.html b/demo-test.html index 3028456..6435736 100644 --- a/demo-test.html +++ b/demo-test.html @@ -25,7 +25,7 @@

- +

@@ -103,7 +103,7 @@ function ToggleDebug() function LoadToday() { - const date = timeline1.DateToString(new Date(), "yyyy-MM-dd"); + // const date = timeline1.DateToString(new Date(), "yyyy-MM-dd"); timeline1.Load("2023-10-01"); }