Skip to content

Commit

Permalink
Disable crosshair label in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edew committed Aug 16, 2023
1 parent 9f55db3 commit 53f37ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function runTestCase(container) {
layout: {
fontSize: 24,
},
crosshair: { vertLine: { labelVisible: false } },
timeScale: {
tickMarkMaxCharacterLength: 'long prefix 0000-00-00'.length,
tickMarkFormatter: time => `long prefix ${time}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ function runTestCase(container) {
const chart = window.chart = LightweightCharts.createChart(container, {
handleScroll: false,
handleScale: false,
crosshair: { vertLine: { labelVisible: false } },
timeScale: {
tickMarkMaxCharacterLength: 'long prefix 0000-00-00'.length,
tickMarkFormatter: time => `long prefix ${time}`,
Expand Down

0 comments on commit 53f37ae

Please sign in to comment.