-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=custom-profile
Steps to Reproduce
Trying to reproduce this example in TypeScript: https://echarts.apache.org/examples/en/editor.html?c=custom-profile I get deprecation warnings for these lines:
{
x: params.coordSys.x,
y: params.coordSys.y,
width: params.coordSys.width,
height: params.coordSys.height
}Current Behavior
The actual output from tsc:
error TS2339: Property 'x' does not exist on type 'CustomSeriesRenderItemParamsCoordSys'
This happens for all variables x, y, width, and height.
Expected Behavior
No TS errors.
Environment
- OS: Windows 11
- Browser: Electron@27
- Framework: Vue@3Any additional comments?
I suspect the API of renderItem has changed, but when I compare this to the official documentation of renderItem, it is unclear to me what needs to be changed on my end.
zhoudaxia2016, 17LingShan, RyKilleen and vitaletszhoudaxia2016
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.