mirror of
https://github.com/tradingview/lightweight-charts.git
synced 2024-11-25 16:50:59 +08:00
update graphics tests to hide attribution logo
This commit is contained in:
parent
0244df7f33
commit
2038d8a165
@ -10,6 +10,7 @@ function runTestCase(container) {
|
||||
entireTextOnly: true,
|
||||
alignLabels: true,
|
||||
},
|
||||
layout: { attributionLogo: false },
|
||||
};
|
||||
|
||||
const chart = (window.chart = LightweightCharts.createChart(
|
||||
|
@ -10,6 +10,7 @@ function runTestCase(container) {
|
||||
entireTextOnly: true,
|
||||
alignLabels: true,
|
||||
},
|
||||
layout: { attributionLogo: false },
|
||||
};
|
||||
|
||||
const chart = (window.chart = LightweightCharts.createChart(
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user