fix(cartodiagram): add missing locales for rendering echarts (#34268)

This commit is contained in:
Jan Suleiman
2025-07-25 18:59:28 +02:00
committed by GitHub
parent c25b4221f8
commit 8783579aa8
7 changed files with 37 additions and 5 deletions

View File

@@ -24,6 +24,7 @@ describe('ChartLayer', () => {
it('creates div and loading mask', () => {
const options: ChartLayerOptions = {
chartVizType: 'pie',
locale: 'en',
};
const chartLayer = new ChartLayer(options);
@@ -34,6 +35,7 @@ describe('ChartLayer', () => {
it('can remove chart elements', () => {
const options: ChartLayerOptions = {
chartVizType: 'pie',
locale: 'en',
};
const chartLayer = new ChartLayer(options);
chartLayer.charts = [