-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3611 from VisActor/fix/3d-label
Fix: 3d label
- Loading branch information
Showing
6 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@visactor/vchart/fix-3d-label_2024-12-25-08-49.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@visactor/vchart", | ||
"comment": "fix: fix the issue of incorrect label display in 3D charts, #3584", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@visactor/vchart" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { IBar3dSeriesSpec, IBar3dSeriesTheme } from './interface'; | ||
import { SeriesMarkNameEnum } from '../interface'; | ||
import { BarSeriesSpecTransformer } from './bar-transformer'; | ||
|
||
export class Bar3dSeriesSpecTransformer< | ||
T extends IBar3dSeriesSpec = IBar3dSeriesSpec, | ||
K extends IBar3dSeriesTheme = IBar3dSeriesTheme | ||
// @ts-ignore | ||
> extends BarSeriesSpecTransformer<T, K> { | ||
protected _transformLabelSpec(spec: T): void { | ||
this._addMarkLabelSpec(spec, SeriesMarkNameEnum.bar3d); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters