-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Closed as not planned
Copy link
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.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
`
echarts.registerMap('f1', {svg: svg});
var chartDom = document.getElementById('firstMapEcharts');
var myChart = echarts.init(chartDom, null, {renderer: 'svg'});
var option = {
geo: {
map: 'f1',
roam: false,
left: "10px",
top: "10px",
right: "-450px",
bottom: "20px",
layoutSize: '100%',
selectedMode: 'false',
emphasis: {
label: {
show: false
}
}
}
};
myChart.setOption(option);
myChart.getOption();`
Current Behavior
Using echarts to display the svg map, the color of some areas in the figure is lost and displayed as black blocks
Expected Behavior
This is the original display of the svg image, use html to display this svg image, all colors are displayed normally
Environment
- OS:mac
- Browser:chrome
- Framework:"react": "^18.2.0",
Any additional comments?
No response
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.