update graphics tests to hide attribution logo

This commit is contained in:
Mark Silverwood 2024-07-25 18:00:21 +01:00
parent 0244df7f33
commit 2038d8a165
No known key found for this signature in database
6 changed files with 16 additions and 4 deletions

View File

@ -10,6 +10,7 @@ function runTestCase(container) {
entireTextOnly: true,
alignLabels: true,
},
layout: { attributionLogo: false },
};
const chart = (window.chart = LightweightCharts.createChart(

View File

@ -10,6 +10,7 @@ function runTestCase(container) {
entireTextOnly: true,
alignLabels: true,
},
layout: { attributionLogo: false },
};
const chart = (window.chart = LightweightCharts.createChart(

View File

@ -13,7 +13,9 @@ function generateData() {
}
function runTestCase(container) {
const chart = window.chart = LightweightCharts.createChart(container);
const chart = window.chart = LightweightCharts.createChart(container, {
layout: { attributionLogo: false },
});
const mainSeries = chart.addHistogramSeries();

View File

@ -13,7 +13,9 @@ function generateData() {
}
function runTestCase(container) {
const chart = window.chart = LightweightCharts.createChart(container);
const chart = window.chart = LightweightCharts.createChart(container, {
layout: { attributionLogo: false },
});
const mainSeries = chart.addHistogramSeries();

View File

@ -13,7 +13,9 @@ function generateData() {
}
function runTestCase(container) {
const chart = window.chart = LightweightCharts.createChart(container);
const chart = window.chart = LightweightCharts.createChart(container, {
layout: { attributionLogo: false },
});
const mainSeries = chart.addHistogramSeries();

View File

@ -869,7 +869,11 @@ class CustomBehavior extends DefaultHorzScaleBehavior {
}
}
function runTestCase(container) {
const chart = window.chart = LightweightCharts.createChartEx(container, new CustomBehavior(), { width: 800, height: 400 });
const chart = window.chart = LightweightCharts.createChartEx(container, new CustomBehavior(), {
width: 800,
height: 400,
layout: { attributionLogo: false },
});
let lastDate;
let lastTickMarkType;