Skip to content

Commit

Permalink
#3221: Charts | Tree: Can not read the last level categories in a hor…
Browse files Browse the repository at this point in the history
…izontal view
  • Loading branch information
Aleksashka11 committed Jan 15, 2025
1 parent 3a3170b commit 095d359
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/Charts/src/viewers/echart/echart-viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ export class EChartViewer extends DG.JsViewer {
option: any;

top?: string;
left?: string;
bottom?: string;
right?: string;
animationDuration?: number;
animationDurationUpdate?: number;
tableName?: string;
Expand Down Expand Up @@ -47,10 +45,12 @@ export class EChartViewer extends DG.JsViewer {
}

initCommonProperties() {
/**
* Removed the 'right' and 'left' properties from the configuration
* as they disrupt the layout and cause visualization issues in the ECharts viewer.
*/
this.top = this.string('top', '5px');
this.left = this.string('left', '5px');
this.bottom = this.string('bottom', '5px');
this.right = this.string('right', '5px');

this.animationDuration = this.int('animationDuration', 500);
this.animationDurationUpdate = this.int('animationDurationUpdate', 750);
Expand Down

0 comments on commit 095d359

Please sign in to comment.